Skip to content

Node.js based forum software built for the modern web

fix indents

barisusakli78f4cbc9e422
diff --git a/src/routes/index.js b/src/routes/index.js
index e26f00e38f..a80eb2e46a 100644
--- a/src/routes/index.js
+++ b/src/routes/index.js
@@ -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')) {