diff --git a/src/Pimvidious.nim b/src/Pimvidious.nim index c0e4263..f35317b 100644 --- a/src/Pimvidious.nim +++ b/src/Pimvidious.nim @@ -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)