Compare commits
No commits in common. "58cca7afcaab70cfb0752c65ac669eddd4a15ff5" and "18e17da5162b3aa8e3d7d323016220525ab8d80d" have entirely different histories.
58cca7afca
...
18e17da516
2 changed files with 1 additions and 2 deletions
|
@ -11,4 +11,4 @@ bin = @["Pimvidious"]
|
|||
# Dependencies
|
||||
|
||||
requires "nim >= 2.0.0"
|
||||
requires "mummy >= 0.4.2"
|
||||
requires "mummy"
|
||||
|
|
|
@ -39,7 +39,6 @@ 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