fixed filter:admin.scripts.get

v1.18.x
psychobunny 11 years ago
parent 0079964d68
commit 2627ed0fcd

@ -39,7 +39,7 @@ middleware.buildHeader = function(req, res, next) {
plugins.fireHook('filter:admin.scripts.get', [], function(err, scripts) {
var arr = [];
scripts.forEach(function(script) {
arr.push({src: path.join(nconf.get('relative_path'), script)});
arr.push({src: nconf.get('url') + script});
});
next(err, arr);

Loading…
Cancel
Save