Fix static serve
This commit is contained in:
parent
3b0d965140
commit
73d0ce1838
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ pub fn rocket(config: config::Config) -> Result<rocket::Rocket, ()> {
|
|||
.manage(database::create_db_pool(config))
|
||||
.attach(Template::fairing())
|
||||
.mount("/", routes::routes())
|
||||
.mount("/public", StaticFiles::new(public_path, ServeOptions::None));
|
||||
.mount("/", StaticFiles::new(public_path, ServeOptions::None));
|
||||
|
||||
Ok(result)
|
||||
}
|
||||
|
|
Reference in a new issue