From a97b83babc288ac6409f6a5249ee72dee4f30cbd Mon Sep 17 00:00:00 2001 From: Chad Weider Date: Sun, 9 Sep 2012 14:33:16 -0700 Subject: [PATCH] Another workaround for Windows paths. --- src/node/utils/Minify.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/utils/Minify.js b/src/node/utils/Minify.js index 21a663c0e..a16e480af 100644 --- a/src/node/utils/Minify.js +++ b/src/node/utils/Minify.js @@ -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?) } }