Merge pull request #987 from cweider/loopback-avoidance

Windows server fixes
This commit is contained in:
John McLear 2012-09-09 15:50:42 -07:00
commit 32b4729305
2 changed files with 2 additions and 18 deletions

View file

@ -144,6 +144,7 @@ function minify(req, res, next)
if (plugin) {
var pluginPath = plugin.package.realPath;
filename = path.relative(ROOT_DIR, pluginPath + '/static/' + resourcePath);
filename = filename.replace(/\\/g, '/'); // Windows (safe generally?)
}
}