Restructured frontend 💯
This commit is contained in:
10
src/main.rs
10
src/main.rs
@ -238,14 +238,14 @@ fn rocket() -> _ {
|
||||
println!("B: {}", b_uuid);
|
||||
|
||||
rocket::build()
|
||||
.mount("/", FileServer::from(relative!("static/assets")).rank(0))
|
||||
.mount("/", FileServer::from(relative!("web/static")).rank(0))
|
||||
.mount(
|
||||
format!("/{}", a_uuid.hyphenated()),
|
||||
FileServer::from(relative!("static")),
|
||||
format!("/{}/", a_uuid.hyphenated()),
|
||||
FileServer::from(relative!("web/dynamic")),
|
||||
)
|
||||
.mount(
|
||||
format!("/{}", b_uuid.hyphenated()),
|
||||
FileServer::from(relative!("static")),
|
||||
format!("/{}/", b_uuid.hyphenated()),
|
||||
FileServer::from(relative!("web/dynamic")),
|
||||
)
|
||||
.mount(
|
||||
"/",
|
||||
|
||||
Reference in New Issue
Block a user