Explorar el Código

Merge pull request #1826 from wyklion/patch-1

Update babylon.database.ts
Loïc Baumann hace 8 años
padre
commit
b75f074c1a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/Tools/babylon.database.ts

+ 2 - 2
src/Tools/babylon.database.ts

@@ -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 {
             }
         }
     }
-}
+}