feat: create dev environment

This commit is contained in:
Valerio Ageno
2024-05-18 11:46:57 +02:00
parent fc1d9013f8
commit db98e0e2fd
8 changed files with 88 additions and 17 deletions
+1
View File
@@ -31,6 +31,7 @@ async fn main() {
let app = Router::new()
// ROUTE_BUILDER
.nest_service("/__tuono", ServeDir::new(".tuono"))
.fallback_service(ServeDir::new("public").fallback(get(catch_all)));
let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();