diff options
author | Akshay <[email protected]> | 2024-09-01 19:18:23 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2024-09-01 19:18:23 +0100 |
commit | 8b5db5e1954de865933fd4de003fdd21d57add4a (patch) | |
tree | 2c03ba09a51f8d472c1e815942318d5447fb16b2 /src/routes/index.js | |
parent | 55ef1a63136c2ff0ec808ba44160f5503cc4416b (diff) |
finish subscriptions
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) { |