From 5ad17b228e60a4a8c5c73fa8ce377f18fe2e07ec Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Fri, 17 Apr 2020 18:08:35 +0300 Subject: [PATCH] To investigate: adding this disables other routes --- project/backend/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/backend/src/main.rs b/project/backend/src/main.rs index 82c6187..054ab8d 100644 --- a/project/backend/src/main.rs +++ b/project/backend/src/main.rs @@ -68,7 +68,7 @@ async fn main() -> std::io::Result<()> { .secure(false), )) .data(get_pool()) - .service(Files::new("/", "./static").index_file("index.html")) + // .service(Files::new("/", "./static").index_file("index.html")) .service(authentication::register) .service(authentication::login) .service(authentication::logout)