Only include Fira CSS on /unsupported/* route

This commit is contained in:
Peter deHaan 2017-08-03 11:12:13 -07:00
parent 434f8b56cc
commit 705289d34b
No known key found for this signature in database
GPG key ID: F0FC6C01C6305097
2 changed files with 12 additions and 6 deletions

View file

@ -96,7 +96,8 @@ app.get('/', (req, res) => {
app.get('/unsupported/:reason', (req, res) => {
const outdated = req.params.reason === 'outdated';
res.render('unsupported', {
outdated: outdated
outdated,
fira: true
});
});