Other useful pages

This commit is contained in:
Maurice
2024-02-01 16:11:09 +01:00
parent a1b5c513ea
commit 95466ae31e
6 changed files with 57 additions and 2 deletions

View File

@@ -79,6 +79,9 @@ fn main() {
}
}
},
(GET) (/about) => {
Response::html(&about)
},
(GET) (/to/{id: String}) => {
match links.get(&id).expect("Failed to access links DB") {
Some(lnk) => {