From 2627ed0fcd3c15cc2bf61880194d052be8aa660b Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 23 Apr 2014 19:30:38 -0400 Subject: [PATCH] fixed filter:admin.scripts.get --- src/middleware/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware/admin.js b/src/middleware/admin.js index 03ee4ed054..e04be5391b 100644 --- a/src/middleware/admin.js +++ b/src/middleware/admin.js @@ -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);