mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-25 16:49:26 +01:00
12 lines
330 B
JavaScript
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;
|