diff --git a/src/main.rs b/src/main.rs index e5afec2..afa64f2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,8 +26,8 @@ async fn rocket() -> _ { #[cfg(feature = "rowing-tera")] let rocket = tera::config(rocket); - #[cfg(feature = "rest")] - let rocket = rest::config(rocket); + //#[cfg(feature = "rest")] + //let rocket = rest::config(rocket); rocket } diff --git a/src/tera/mod.rs b/src/tera/mod.rs index 7a4e6bc..a86a159 100644 --- a/src/tera/mod.rs +++ b/src/tera/mod.rs @@ -118,6 +118,7 @@ pub fn config(rocket: Rocket) -> Rocket { .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::())