Disable cors (#774)
This commit is contained in:
parent
51ee66e019
commit
23160ad483
1 changed files with 13 additions and 0 deletions
13
patches/fix-cors.patch
Normal file
13
patches/fix-cors.patch
Normal file
|
@ -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];
|
Loading…
Add table
Reference in a new issue