We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9156139 commit 36af73cCopy full SHA for 36af73c
src/main.rs
@@ -111,7 +111,7 @@ fn rocket() -> _ {
111
.attach(DbConn::fairing())
112
.attach(Template::fairing())
113
.attach(AdHoc::on_ignite("Run Migrations", run_migrations))
114
- .mount("/", FileServer::new(relative!("static"), Options::Index))
+ .mount("/", FileServer::new("static", Options::Index))
115
.mount("/", routes![index])
116
.mount("/todo", routes![new, toggle, delete])
117
}
0 commit comments