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