From a10fcb21fd1323951398a25c61237f1c94424e43 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Fri, 23 Jun 2023 14:35:57 +0100 Subject: remove relative path macro --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 844f3aa..6f603de 100644 --- a/src/main.rs +++ b/src/main.rs @@ -144,7 +144,7 @@ async fn main() -> std::result::Result<(), rocket::Error> { })) .mount("/", routes![home, contact, blog, blogpost, feed, plants]) .register("/", catchers![catcher]) - .mount("/", FileServer::from(relative!("static"))) + .mount("/", FileServer::from("./static")) .launch() .await?; -- cgit