1
0
mirror of https://codeberg.org/teddit/teddit synced 2025-01-08 16:51:15 +01:00
teddit-reddit-frontend-alte.../routes/gallery.js
2021-09-02 21:00:26 +01:00

8 lines
195 B
JavaScript

const galleryRoute = require('express').Router();
galleryRoute.get('/gallery/:id', (req, res, next) => {
return res.redirect(`/comments/${req.params.id}`);
});
module.exports = galleryRoute;