changed some shit also yes!!!

This commit is contained in:
hexlocation 2025-01-08 17:55:58 +01:00
parent 855521e4e5
commit 6f0ce47bd8
Signed by: hex
GPG key ID: A19EFFAAF8C00FCF
6 changed files with 14 additions and 12 deletions

View file

@ -68,9 +68,9 @@ fn abuse() -> Template {
fn post() -> Template {
Template::render("post", context! {})
}
#[get("/members")]
fn members() -> Template {
Template::render("members", context! {})
#[get("/people")]
fn people() -> Template {
Template::render("people", context! {})
}
#[get("/")]
@ -116,7 +116,7 @@ fn rocket() -> _ {
build()
.mount(
"/",
routes![index, guests, post_msg, members, post, services, abuse],
routes![index, guests, post_msg, people, post, services, abuse],
)
.mount("/assets", FileServer::from(ASSETS_DIR))
.attach(Template::fairing())