mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-24 01:10:31 +01:00
404 to relative path
This commit is contained in:
@@ -85,7 +85,7 @@ var express = require('express'),
|
|||||||
if (req.accepts('html')) {
|
if (req.accepts('html')) {
|
||||||
|
|
||||||
//res.json('404', { url: req.url });
|
//res.json('404', { url: req.url });
|
||||||
res.redirect('/404');
|
res.redirect(global.config.relative_path + '/404');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user