add pagination to home
This commit is contained in:
parent
005434e5f1
commit
58cca7afca
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ 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)
|
||||||
|
|
Loading…
Reference in a new issue