Selaa lähdekoodia

Disable cors (#774)

Baptiste Augrain 3 vuotta sitten
vanhempi
sitoutus
23160ad483
1 muutettua tiedostoa jossa 13 lisäystä ja 0 poistoa
  1. 13 0
      patches/fix-cors.patch

+ 13 - 0
patches/fix-cors.patch

@@ -0,0 +1,13 @@
+diff --git a/src/main.js b/src/main.js
+index f91f7b7..0ec4b6f 100644
+--- a/src/main.js
++++ b/src/main.js
+@@ -174,7 +174,7 @@ function configureCommandlineSwitchesSync(cliArgs) {
+ 	// Read argv config
+ 	const argvConfig = readArgvConfigSync();
+ 
+-	let browserCodeLoadingStrategy = typeof codeCachePath === 'string' ? 'bypassHeatCheck' : 'none';
++	let browserCodeLoadingStrategy = undefined;
+ 
+ 	Object.keys(argvConfig).forEach(argvKey => {
+ 		const argvValue = argvConfig[argvKey];