mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 20:00:15 +10:00
Disable cors (#774)
This commit is contained in:
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];
|
||||||
Reference in New Issue
Block a user