This commit is contained in:
philipp 2023-04-10 15:01:43 +02:00
parent 884136ab61
commit 311153d96b

View File

@ -83,7 +83,7 @@ pub fn start(db: SqlitePool) -> Rocket<Build> {
.mount("/auth", auth::routes()) .mount("/auth", auth::routes())
.mount("/cox", cox::routes()) .mount("/cox", cox::routes())
.mount("/admin", admin::routes()) .mount("/admin", admin::routes())
.mount("/public", FileServer::from("static/")) .mount("/public", FileServer::from("./static/"))
.register("/", catchers![unauthorized_error]) .register("/", catchers![unauthorized_error])
.attach(Template::fairing()) .attach(Template::fairing())
} }