Restructured frontend 💯

This commit is contained in:
Seoxi Ryouko
2025-02-13 06:45:01 -06:00
parent 04532aaafe
commit 7c3e1fc9e9
8 changed files with 31 additions and 17 deletions

View File

@ -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(
"/",