feat: Setup Tailwind CSS

This commit is contained in:
2024-08-02 23:33:48 +02:00
committed by florian_briand
parent a365e9206f
commit 4a27dacd8e
8 changed files with 605 additions and 2 deletions

View File

@ -9,6 +9,7 @@ async fn main() {
let router = get_router(assets_path.as_path());
// TODO: select port based on available port (or ask in CLI)
let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
let listener = tokio::net::TcpListener::bind("localhost:3000").await.unwrap();
println!("Listening on: http://{}", listener.local_addr().unwrap());
axum::serve(listener, router).await.unwrap();
}