diff options
author | cel 🌸 <cel@blos.sm> | 2023-06-23 14:35:57 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-06-23 14:35:57 +0100 |
commit | a10fcb21fd1323951398a25c61237f1c94424e43 (patch) | |
tree | d2de5bb927d2138a434f4ce442d6e1529f6d25fa /src/main.rs | |
parent | ef2726a261d3b3c124f7b67ed6fea869e2c67cf6 (diff) | |
download | blossom-a10fcb21fd1323951398a25c61237f1c94424e43.tar.gz blossom-a10fcb21fd1323951398a25c61237f1c94424e43.tar.bz2 blossom-a10fcb21fd1323951398a25c61237f1c94424e43.zip |
remove relative path macro
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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?; |