Compare commits
2 commits
18e17da516
...
58cca7afca
Author | SHA1 | Date | |
---|---|---|---|
58cca7afca | |||
005434e5f1 |
2 changed files with 2 additions and 1 deletions
|
@ -11,4 +11,4 @@ bin = @["Pimvidious"]
|
|||
# Dependencies
|
||||
|
||||
requires "nim >= 2.0.0"
|
||||
requires "mummy"
|
||||
requires "mummy >= 0.4.2"
|
||||
|
|
|
@ -39,6 +39,7 @@ proc staticFileHandler(request: Request) =
|
|||
proc createRouter(): Router =
|
||||
var router: Router
|
||||
router.get("/", pageHandler)
|
||||
router.get("/new/*", pageHandler)
|
||||
router.get("/video.*/*", videoHandler)
|
||||
router.get("/video.*/*/*/*", videoHandler)
|
||||
router.get("/favicon.ico", staticFileHandler)
|
||||
|
|
Loading…
Reference in a new issue