mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-29 11:19:22 +01:00
8 lines
195 B
JavaScript
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;
|