2022-06-11 19:53:25 +02:00
|
|
|
const config = require('../config');
|
|
|
|
|
2021-09-02 11:27:28 +02:00
|
|
|
const staticRoutes = require('express').Router();
|
|
|
|
|
|
|
|
staticRoutes.get('/privacy', (req, res, next) => {
|
2022-06-11 19:35:15 +02:00
|
|
|
return res.render('privacypolicy', { user_preferences: req.cookies, instance_config: config });
|
2021-09-02 11:27:28 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
staticRoutes.get('/about', (req, res, next) => {
|
2022-06-11 19:35:15 +02:00
|
|
|
return res.render('about', { user_preferences: req.cookies, instance_config: config });
|
2021-09-02 11:27:28 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = staticRoutes;
|