fix(web client): profile page without draws

This commit is contained in:
Henri Bourcereau 2026-05-22 17:30:23 +02:00
parent 25554126a8
commit 4003fc0ef2
3 changed files with 9 additions and 8 deletions

View file

@ -99,9 +99,9 @@ async fn main() {
.route("/ws", get(websocket_handler))
.merge(http::router())
.with_state(app_state)
.fallback_service(ServeDir::new(".").not_found_service(ServeFile::new("index.html")))
.layer(auth_layer)
.layer(cors)
.fallback_service(ServeDir::new(".").not_found_service(ServeFile::new("index.html")));
.layer(cors);
let listener = tokio::net::TcpListener::bind("127.0.0.1:8080")
.await