diff --git a/src/app.js b/src/app.js index 43f2036..359140a 100644 --- a/src/app.js +++ b/src/app.js @@ -138,7 +138,7 @@ function createApp() { } // Generic error - if (req.accepts('html')) { + if (_req.accepts('html')) { return res.status(500).sendFile(path.join(PUBLIC_DIR, '500.html')); } res.status(500).json({