mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 23:18:39 +03:00
create /unsupported/outdated version of the /unsupported page
This commit is contained in:
@@ -96,8 +96,11 @@ app.get('/', (req, res) => {
|
||||
res.render('index');
|
||||
});
|
||||
|
||||
app.get('/unsupported', (req, res) => {
|
||||
res.render('unsupported');
|
||||
app.get('/unsupported/:reason', (req, res) => {
|
||||
const outdated = req.params.reason === 'outdated'? true : false;
|
||||
res.render('unsupported', {
|
||||
outdated: outdated
|
||||
});
|
||||
});
|
||||
|
||||
app.get('/legal', (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user