Skip to content

Commit

Permalink
Avoid embedding CI path
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Jul 14, 2024
1 parent 9156139 commit 36af73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn rocket() -> _ {
.attach(DbConn::fairing())
.attach(Template::fairing())
.attach(AdHoc::on_ignite("Run Migrations", run_migrations))
.mount("/", FileServer::new(relative!("static"), Options::Index))
.mount("/", FileServer::new("static", Options::Index))
.mount("/", routes![index])
.mount("/todo", routes![new, toggle, delete])
}

0 comments on commit 36af73c

Please sign in to comment.