try
This commit is contained in:
parent
6a1bde55a2
commit
7e1a0a2159
@ -27,7 +27,7 @@ async fn login(login: Form<LoginForm<'_>>, db: &State<SqlitePool>) -> String {
|
|||||||
|
|
||||||
pub fn config(rocket: Rocket<Build>) -> Rocket<Build> {
|
pub fn config(rocket: Rocket<Build>) -> Rocket<Build> {
|
||||||
rocket
|
rocket
|
||||||
.mount("/", FileServer::from("svelte/build").rank(0))
|
//.mount("/", FileServer::from("svelte/build").rank(0))
|
||||||
.mount("/api/login", routes![login])
|
.mount("/api/login", routes![login])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user