mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
Fix for local paths with Unix / Windows Support
Second try at fixing issue #1272, now with added Unix support.
This commit is contained in:
@@ -214,7 +214,7 @@ function extractUrlParts(url, baseUrl) {
|
||||
if (!baseUrlParts) {
|
||||
throw new Error("Could not parse page url - '"+baseUrl+"'");
|
||||
}
|
||||
urlParts[1] = baseUrlParts[1] || "";
|
||||
urlParts[1] = urlParts[1] || baseUrlParts[1] || "";
|
||||
if (!urlParts[2]) {
|
||||
urlParts[3] = baseUrlParts[3] + urlParts[3];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user