1
0
mirror of https://codeberg.org/teddit/teddit synced 2025-01-07 00:07:51 +01:00
teddit-reddit-frontend-alte.../routes/static.js
2021-09-02 10:27:28 +01:00

12 lines
330 B
JavaScript

const staticRoutes = require('express').Router();
staticRoutes.get('/privacy', (req, res, next) => {
return res.render('privacypolicy', { user_preferences: req.cookies });
});
staticRoutes.get('/about', (req, res, next) => {
return res.render('about', { user_preferences: req.cookies });
});
module.exports = staticRoutes;