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]
|
#[launch]
|
||||||
fn rocket() -> _ {
|
fn rocket() -> _ {
|
||||||
rocket::build()
|
rocket::build()
|
||||||
.mount("/", FileServer::from(relative!("static")))
|
.mount("/", FileServer::from("static"))
|
||||||
.attach(routes::stage())
|
.attach(routes::stage())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue