Quellcode durchsuchen

Enable cors in example

Garrett Johnson vor 5 Jahren
Ursprung
Commit
10f7374c62

+ 1 - 1
example/bundle/b3dmExample.d88db709.js

@@ -42819,7 +42819,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/b3dmExample.d88db709.js.map


+ 1 - 1
example/bundle/b3dmExample.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/b3dmExample.js.map


+ 1 - 1
example/bundle/cmptExample.4b2a3f0d.js

@@ -42819,7 +42819,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/cmptExample.4b2a3f0d.js.map


+ 1 - 1
example/bundle/cmptExample.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/cmptExample.js.map


+ 1 - 1
example/bundle/customMaterial.dd39ecee.js

@@ -46009,7 +46009,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/customMaterial.dd39ecee.js.map


+ 1 - 1
example/bundle/customMaterial.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/customMaterial.js.map


+ 2 - 1
example/bundle/example.e31bb0bc.js

@@ -46334,6 +46334,7 @@ function reinstantiateTiles() {
   }
 
   tiles = new _index.DebugTilesRenderer(url);
+  tiles.fetchOptions.mode = 'cors';
   offsetParent.add(tiles.group);
 }
 
@@ -46789,7 +46790,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/example.e31bb0bc.js.map


+ 1 - 1
example/bundle/i3dmExample.c6cc930a.js

@@ -42847,7 +42847,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/i3dmExample.c6cc930a.js.map


+ 1 - 1
example/bundle/i3dmExample.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/i3dmExample.js.map


+ 1 - 1
example/bundle/index.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/index.js.map


+ 1 - 1
example/bundle/offscreenShadows.ce0529e7.js

@@ -45971,7 +45971,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/offscreenShadows.ce0529e7.js.map


+ 1 - 1
example/bundle/offscreenShadows.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/offscreenShadows.js.map


+ 1 - 1
example/bundle/pntsExample.1cabf3ff.js

@@ -42819,7 +42819,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/pntsExample.1cabf3ff.js.map


+ 1 - 1
example/bundle/pntsExample.js

@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
 if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
   var hostname = "" || location.hostname;
   var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
-  var ws = new WebSocket(protocol + '://' + hostname + ':' + "57609" + '/');
+  var ws = new WebSocket(protocol + '://' + hostname + ':' + "55398" + '/');
 
   ws.onmessage = function (event) {
     checkedAssets = {};

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
example/bundle/pntsExample.js.map


+ 1 - 0
example/index.js

@@ -81,6 +81,7 @@ function reinstantiateTiles() {
 	}
 
 	tiles = new TilesRenderer( url );
+	tiles.fetchOptions.mode = 'cors';
 	offsetParent.add( tiles.group );
 
 }