Compare commits

..

No commits in common. "58cca7afcaab70cfb0752c65ac669eddd4a15ff5" and "18e17da5162b3aa8e3d7d323016220525ab8d80d" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View file

@ -11,4 +11,4 @@ bin = @["Pimvidious"]
# Dependencies # Dependencies
requires "nim >= 2.0.0" requires "nim >= 2.0.0"
requires "mummy >= 0.4.2" requires "mummy"

View file

@ -39,7 +39,6 @@ proc staticFileHandler(request: Request) =
proc createRouter(): Router = proc createRouter(): Router =
var router: Router var router: Router
router.get("/", pageHandler) router.get("/", pageHandler)
router.get("/new/*", pageHandler)
router.get("/video.*/*", videoHandler) router.get("/video.*/*", videoHandler)
router.get("/video.*/*/*/*", videoHandler) router.get("/video.*/*/*/*", videoHandler)
router.get("/favicon.ico", staticFileHandler) router.get("/favicon.ico", staticFileHandler)