Skip to content

Commit 7dd044b

Browse files
committed
Fix bug preventing static files from being served
1 parent 9f9104d commit 7dd044b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ fn main() {
228228
router.get("/check", check_auth, "check_endpoint");
229229

230230
let mut mount = Mount::new();
231-
mount.mount("/usr/share/better-than-basic/static/", Static::new("static"));
231+
mount.mount("/static/", Static::new("/usr/share/better-than-basic/static"));
232232
mount.mount("/", router);
233233

234234
let mut chain = Chain::new(mount);

0 commit comments

Comments
 (0)