Commit 6f31e5a6 authored by Boris Kocherov's avatar Boris Kocherov

load dependence: base_url fix

parent 77d513dc
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
return RSVP.Queue().push(function () { return RSVP.Queue().push(function () {
if (URI(ref).protocol() === "") { if (URI(ref).protocol() === "") {
if (base_url !== undefined) { if (base_url && !ref.startsWith("/")) {
ref = base_url + "/" + ref; ref = base_url + "/" + ref;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment