mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
Merge pull request #987 from cweider/loopback-avoidance
Windows server fixes
This commit is contained in:
commit
32b4729305
2 changed files with 2 additions and 18 deletions
|
@ -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?)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue