Other useful pages
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user