Fix relative path serving

This commit is contained in:
Felipe Contreras 2022-08-03 22:30:02 -04:00
parent e0d0a6fc1d
commit a9ffc21491

View file

@ -8,6 +8,6 @@ mod routes;
#[launch]
fn rocket() -> _ {
rocket::build()
.mount("/", FileServer::from(relative!("static")))
.mount("/", FileServer::from("static"))
.attach(routes::stage())
}