From a9ffc214914b2901845c9a1b96fa9dea71d4e583 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Wed, 3 Aug 2022 22:30:02 -0400 Subject: [PATCH] Fix relative path serving --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 442620a..3cfdbc8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,6 +8,6 @@ mod routes; #[launch] fn rocket() -> _ { rocket::build() - .mount("/", FileServer::from(relative!("static"))) + .mount("/", FileServer::from("static")) .attach(routes::stage()) }