aboutsummaryrefslogtreecommitdiff
path: root/src/routes/index.js
diff options
context:
space:
mode:
authorAkshay <[email protected]>2024-09-01 19:18:23 +0100
committerAkshay <[email protected]>2024-09-01 19:18:23 +0100
commit8b5db5e1954de865933fd4de003fdd21d57add4a (patch)
tree2c03ba09a51f8d472c1e815942318d5447fb16b2 /src/routes/index.js
parent55ef1a63136c2ff0ec808ba44160f5503cc4416b (diff)
finish subscriptions
Diffstat (limited to 'src/routes/index.js')
-rw-r--r--src/routes/index.js5
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
35router.get('/subs', async (req, res) => {
36 res.render('subs');
37});
38
34module.exports = router; 39module.exports = router;
35 40
36function unescape_submission(response) { 41function unescape_submission(response) {