diff options
Diffstat (limited to 'src/routes/index.js')
-rw-r--r-- | src/routes/index.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/routes/index.js b/src/routes/index.js index 77ff118..f43ee6f 100644 --- a/src/routes/index.js +++ b/src/routes/index.js | |||
@@ -31,6 +31,11 @@ router.get('/comments/:id', async (req, res) => { | |||
31 | res.render('comments', unescape_submission(response)); | 31 | res.render('comments', unescape_submission(response)); |
32 | }); | 32 | }); |
33 | 33 | ||
34 | // GET /subs | ||
35 | router.get('/subs', async (req, res) => { | ||
36 | res.render('subs'); | ||
37 | }); | ||
38 | |||
34 | module.exports = router; | 39 | module.exports = router; |
35 | 40 | ||
36 | function unescape_submission(response) { | 41 | function unescape_submission(response) { |