diff --git a/routes.js b/routes.js index 37b5a5d..2764ce2 100644 --- a/routes.js +++ b/routes.js @@ -854,7 +854,7 @@ module.exports = (app, redis, fetch, RedditAPI) => { }) }) - app.get('/r/:subreddit/comments/:id/:snippet/:comment_id?', (req, res, next) => { + app.get('/r/:subreddit/comments/:id/:snippet?/:comment_id?', (req, res, next) => { let subreddit = req.params.subreddit let id = req.params.id let snippet = encodeURIComponent(req.params.snippet)