aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-06-23 14:35:57 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-06-23 14:35:57 +0100
commita10fcb21fd1323951398a25c61237f1c94424e43 (patch)
treed2de5bb927d2138a434f4ce442d6e1529f6d25fa /src/main.rs
parentef2726a261d3b3c124f7b67ed6fea869e2c67cf6 (diff)
downloadblossom-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.rs2
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?;