enable webapp routes
This commit is contained in:
parent
9b895c98d6
commit
e087c120e7
|
@ -59,8 +59,8 @@ async fn main() -> Result<(), rocket::Error> {
|
|||
update_role,
|
||||
update_quota,
|
||||
])
|
||||
//.mount("/", FileServer::from("/app/static").rank(10))
|
||||
//.register("/", catchers![not_found])
|
||||
.mount("/", FileServer::from("/app/static").rank(10))
|
||||
.register("/", catchers![not_found])
|
||||
.launch()
|
||||
.await?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue