To investigate: adding this disables other routes
This commit is contained in:
parent
64c76b9341
commit
5ad17b228e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue