diff --git a/app/index.html b/app/index.html index 1b4d45a..07713d8 100644 --- a/app/index.html +++ b/app/index.html @@ -18,12 +18,19 @@ - + + + - - - diff --git a/app/index_local.html b/app/index_local.html index d2513be..99d1d11 100644 --- a/app/index_local.html +++ b/app/index_local.html @@ -13,11 +13,22 @@ - - + + + + - - diff --git a/server/src/infra/tcp_server.rs b/server/src/infra/tcp_server.rs index 6a67521..d1424ac 100644 --- a/server/src/infra/tcp_server.rs +++ b/server/src/infra/tcp_server.rs @@ -78,7 +78,7 @@ fn http_config( .service( web::scope("/") .route("", web::get().to(index)) - .route("index.html", web::get().to(index)), + .route(".*", web::get().to(index)), ); }