2
0
gilnoycloudinary 6 жил өмнө
parent
commit
472ff56ecd

+ 1 - 1
examples/js/loaders/GLTFLoader.js

@@ -1250,7 +1250,7 @@ THREE.GLTFLoader = ( function () {
 		
 		// Host Relative URL
 		if ( /^https?:\/\//i.test(path) && /^\//.test(url) ) {
-			path = path.replace( /(^https?:\/\/[^\/]+).*/i , '$1' );
+		path = path.replace( /(^https?:\/\/[^\/]+).*/i , '$1' );
 		}
 
 		// Absolute URL http://,https://,//