change client route

v1.18.x
barisusakli 8 years ago
parent a17c26ea45
commit b1511a1870

@ -353,7 +353,7 @@ Controllers.ping = function (req, res) {
Controllers.handle404 = function (req, res) { Controllers.handle404 = function (req, res) {
var relativePath = nconf.get('relative_path'); var relativePath = nconf.get('relative_path');
var isClientScript = new RegExp('^' + relativePath + '\\/src\\/.+\\.js'); var isClientScript = new RegExp('^' + relativePath + '\\/assets\\/src\\/.+\\.js');
if (plugins.hasListeners('action:meta.override404')) { if (plugins.hasListeners('action:meta.override404')) {
return plugins.fireHook('action:meta.override404', { return plugins.fireHook('action:meta.override404', {

Loading…
Cancel
Save