updated default path for public assets after workspace splitup
This commit is contained in:
parent
e1f561d6af
commit
dfd521bb21
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ use pages::*;
|
||||||
|
|
||||||
#[rocket::launch]
|
#[rocket::launch]
|
||||||
fn rocket() -> _ {
|
fn rocket() -> _ {
|
||||||
let assets = std::env::var("PLCOM_ASSETS_PATH").unwrap_or("public".into());
|
let assets = std::env::var("PLCOM_ASSETS_PATH").unwrap_or("../../public".into());
|
||||||
|
|
||||||
let server = rocket::build()
|
let server = rocket::build()
|
||||||
.mount("/", rocket::fs::FileServer::from(assets))
|
.mount("/", rocket::fs::FileServer::from(assets))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue