Compare commits

...

2 commits

2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ edition = "2021"
[dependencies]
rocket = "0.5"
leptos = {version = "0.7.0-rc1" , features = ["ssr"]}
leptos = {version = "0.7.0-rc2" , features = ["ssr"]}
jiff = "0.1"
rocket_async_compression = "0.6"
nanorand = { version = "0.7", features = ["chacha"] }

View file

@ -17,7 +17,7 @@ use pages::*;
#[rocket::launch]
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()
.mount("/", rocket::fs::FileServer::from(assets))