ezidam: dont put relative path for static files, bundle them in docker image
This commit is contained in:
parent
7aa5c96f7a
commit
8365bc5dff
2 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ pub fn rocket_setup(rocket_builder: Rocket<Build>) -> Rocket<Build> {
|
|||
let rocket_builder = rocket_builder.attach(Template::fairing());
|
||||
|
||||
// Static assets
|
||||
let rocket_builder = rocket_builder.mount("/", FileServer::from(relative!("static")));
|
||||
let rocket_builder = rocket_builder.mount("/", FileServer::from("static"));
|
||||
|
||||
// Routes
|
||||
let rocket_builder = routes::routes(rocket_builder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue