step 9.5: wip (not ticked)
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ function createApp() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Generic error
|
// Generic error
|
||||||
if (req.accepts('html')) {
|
if (_req.accepts('html')) {
|
||||||
return res.status(500).sendFile(path.join(PUBLIC_DIR, '500.html'));
|
return res.status(500).sendFile(path.join(PUBLIC_DIR, '500.html'));
|
||||||
}
|
}
|
||||||
res.status(500).json({
|
res.status(500).json({
|
||||||
|
|||||||
Reference in New Issue
Block a user