Compare commits
No commits in common. "e109a942f2202dc0dadb156010715f0a6e187a80" and "e1f561d6afaf4e2c3caab993a7a4bd0fc05f9d09" have entirely different histories.
e109a942f2
...
e1f561d6af
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket = "0.5"
|
rocket = "0.5"
|
||||||
leptos = {version = "0.7.0-rc2" , features = ["ssr"]}
|
leptos = {version = "0.7.0-rc1" , features = ["ssr"]}
|
||||||
jiff = "0.1"
|
jiff = "0.1"
|
||||||
rocket_async_compression = "0.6"
|
rocket_async_compression = "0.6"
|
||||||
nanorand = { version = "0.7", features = ["chacha"] }
|
nanorand = { version = "0.7", features = ["chacha"] }
|
||||||
|
|
|
||||||
|
|
@ -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