We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fffe536 commit 9f91a82Copy full SHA for 9f91a82
server/src/handlers/http.rs
@@ -248,7 +248,7 @@ pub fn configure_routes(cfg: &mut web::ServiceConfig) {
248
.service(user_api),
249
)
250
// GET "/" ==> Serve the static frontend directory
251
- .service(ResourceFiles::new("/", generated));
+ .service(ResourceFiles::new("/", generated).resolve_not_found_to_root());
252
}
253
254
fn base_path() -> String {
0 commit comments