From 58cca7afcaab70cfb0752c65ac669eddd4a15ff5 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Wed, 16 Oct 2024 14:01:31 +0100 Subject: [PATCH] add pagination to home --- src/Pimvidious.nim | 1 + 1 file changed, 1 insertion(+) 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)