|
@@ -43,7 +43,7 @@ module BABYLON {
|
|
|
}
|
|
|
|
|
|
static ReturnFullUrlLocation = (url: string): string => {
|
|
|
- if (url.indexOf("http:/") === -1) {
|
|
|
+ if (url.indexOf("http:/") === -1 && url.indexOf("https:/") === -1) {
|
|
|
return (Database.parseURL(window.location.href) + url);
|
|
|
}
|
|
|
else {
|
|
@@ -584,4 +584,4 @@ module BABYLON {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|