edit some syntax
This commit is contained in:
parent
8d8c2efa23
commit
8cb40effa5
2 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ app.get('/', (req, res) => {
|
|||
});
|
||||
|
||||
app.get('/unsupported/:reason', (req, res) => {
|
||||
const outdated = req.params.reason === 'outdated'? true : false;
|
||||
const outdated = req.params.reason === 'outdated';
|
||||
res.render('unsupported', {
|
||||
outdated: outdated
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue