Fix relative path serving
This commit is contained in:
parent
e0d0a6fc1d
commit
a9ffc21491
1 changed files with 1 additions and 1 deletions
|
|
@ -8,6 +8,6 @@ mod routes;
|
|||
#[launch]
|
||||
fn rocket() -> _ {
|
||||
rocket::build()
|
||||
.mount("/", FileServer::from(relative!("static")))
|
||||
.mount("/", FileServer::from("static"))
|
||||
.attach(routes::stage())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue