Remove disable CORS Line. issue is fixed upstream (#2623)
issue was fixed in https://github.com/electron/electron/pull/25463 it will now be disabled when with webSecurity: false
This commit is contained in:
parent
fa8d423bc6
commit
148db553f5
|
@ -45,11 +45,6 @@ function runApp() {
|
||||||
let mainWindow
|
let mainWindow
|
||||||
let startupUrl
|
let startupUrl
|
||||||
|
|
||||||
// CORS somehow gets re-enabled in Electron v9.0.4
|
|
||||||
// This line disables it.
|
|
||||||
// This line can possible be removed if the issue is fixed upstream
|
|
||||||
app.commandLine.appendSwitch('disable-features', 'OutOfBlinkCors')
|
|
||||||
|
|
||||||
app.commandLine.appendSwitch('enable-accelerated-video-decode')
|
app.commandLine.appendSwitch('enable-accelerated-video-decode')
|
||||||
app.commandLine.appendSwitch('enable-file-cookies')
|
app.commandLine.appendSwitch('enable-file-cookies')
|
||||||
app.commandLine.appendSwitch('ignore-gpu-blacklist')
|
app.commandLine.appendSwitch('ignore-gpu-blacklist')
|
||||||
|
|
Loading…
Reference in New Issue