Update: 禁用nodeIntegrationInWorker

This commit is contained in:
王立帮
2024-09-20 01:04:06 +08:00
parent 57481d6d2c
commit 6ca04ecf8c
2 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ function createWindow(filePath = null, indexUrl = null) {
allowRunningInsecureContent: true,
webPreferences: {
nodeIntegration: true,
nodeIntegrationInWorker: true,
nodeIntegrationInWorker: false,
allowRunningInsecureContent: true,
enableRemoteModule: true,
contextIsolation: false,