To investigate: adding this disables other routes

This commit is contained in:
Marko Korhonen 2020-04-17 18:08:35 +03:00
parent 64c76b9341
commit 5ad17b228e
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5

View file

@ -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)