mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
Another workaround for Windows paths.
This commit is contained in:
parent
3b5ea88bf5
commit
a97b83babc
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ function minify(req, res, next)
|
||||||
if (plugin) {
|
if (plugin) {
|
||||||
var pluginPath = plugin.package.realPath;
|
var pluginPath = plugin.package.realPath;
|
||||||
filename = path.relative(ROOT_DIR, pluginPath + '/static/' + resourcePath);
|
filename = path.relative(ROOT_DIR, pluginPath + '/static/' + resourcePath);
|
||||||
|
filename = filename.replace(/\\/g, '/'); // Windows (safe generally?)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue