fix(services/january): YouTube fallback

This commit is contained in:
Paul Makles
2024-10-02 11:31:55 +01:00
parent c596dd5458
commit afd8c906ba
3 changed files with 44 additions and 14 deletions

View File

@@ -66,6 +66,8 @@ async fn main() -> Result<(), std::io::Error> {
.nest("/", api::router().await);
// Configure TCP listener and bind
tracing::info!("Listening on 0.0.0.0:14705");
tracing::info!("Play around with the API: http://localhost:14705/scalar");
let address = SocketAddr::from((Ipv4Addr::UNSPECIFIED, 14705));
let listener = TcpListener::bind(&address).await?;
axum::serve(listener, app.into_make_service()).await