removed unused fira bits

This commit is contained in:
Danny Coates 2019-03-06 16:37:02 -08:00
parent f9fd9940bd
commit 7464d46843
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
2 changed files with 1 additions and 5 deletions

View File

@ -44,10 +44,7 @@ module.exports = {
const appState = await state(req); const appState = await state(req);
res.send( res.send(
stripEvents( stripEvents(
routes().toString( routes().toString(`/unsupported/${req.params.reason}`, appState)
`/unsupported/${req.params.reason}`,
Object.assign(appState, { fira: true })
)
) )
); );
}, },

View File

@ -30,7 +30,6 @@ module.exports = async function(req) {
storage: { storage: {
files: [] files: []
}, },
fira: false,
fileInfo: {}, fileInfo: {},
cspNonce: req.cspNonce, cspNonce: req.cspNonce,
user: { avatar: assets.get('user.svg'), loggedIn: false }, user: { avatar: assets.get('user.svg'), loggedIn: false },