mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
edit some syntax
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user