Other useful pages
This commit is contained in:
1 parent
a1b5c513ea
commit
95466ae31e
6 files changed
+57
-2
No files matched your search
@@ -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