staging #169

Merged
philipp merged 83 commits from staging into main 2024-01-19 07:43:06 +01:00
Showing only changes of commit 7e1a0a2159 - Show all commits

View File

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