mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 03:51:26 +01:00
fix indents
This commit is contained in:
@@ -146,8 +146,8 @@ module.exports = function(app, middleware) {
|
||||
|
||||
function handle404(app, middleware) {
|
||||
var relativePath = nconf.get('relative_path');
|
||||
var isLanguage = new RegExp('^' + relativePath + '/language/.*/.*.json'),
|
||||
isClientScript = new RegExp('^' + relativePath + '\\/src\\/.+\\.js');
|
||||
var isLanguage = new RegExp('^' + relativePath + '/language/.*/.*.json');
|
||||
var isClientScript = new RegExp('^' + relativePath + '\\/src\\/.+\\.js');
|
||||
|
||||
app.use(function(req, res) {
|
||||
if (plugins.hasListeners('action:meta.override404')) {
|
||||
|
||||
Reference in New Issue
Block a user