remove relative path macro
This commit is contained in:
parent
ef2726a261
commit
a10fcb21fd
|
@ -144,7 +144,7 @@ async fn main() -> std::result::Result<(), rocket::Error> {
|
||||||
}))
|
}))
|
||||||
.mount("/", routes![home, contact, blog, blogpost, feed, plants])
|
.mount("/", routes![home, contact, blog, blogpost, feed, plants])
|
||||||
.register("/", catchers![catcher])
|
.register("/", catchers![catcher])
|
||||||
.mount("/", FileServer::from(relative!("static")))
|
.mount("/", FileServer::from("./static"))
|
||||||
.launch()
|
.launch()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue