This commit is contained in:
2023-07-16 19:10:22 +02:00
parent 2375dd91de
commit a3b3b03c8b
2 changed files with 3 additions and 2 deletions

View File

@ -118,6 +118,7 @@ pub fn config(rocket: Rocket<Build>) -> Rocket<Build> {
.mount("/admin", admin::routes())
.mount("/", misc::routes())
.mount("/public", FileServer::from("static/"))
.mount("/beta", FileServer::from("svelte/build"))
.register("/", catchers![unauthorized_error])
.attach(Template::fairing())
.attach(AdHoc::config::<Config>())