create /unsupported/outdated version of the /unsupported page
This commit is contained in:
parent
318e1a49bf
commit
8d8c2efa23
5 changed files with 30 additions and 16 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue