aboutsummaryrefslogtreecommitdiff
path: root/src/ipcMain/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcMain/index.ts')
-rw-r--r--src/ipcMain/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ipcMain/index.ts b/src/ipcMain/index.ts
index bae6793..6fb31d1 100644
--- a/src/ipcMain/index.ts
+++ b/src/ipcMain/index.ts
@@ -91,7 +91,8 @@ ipcMain.handle(IpcEvents.OPEN_MONACO_EDITOR, async () => {
webPreferences: {
preload: join(__dirname, "preload.js"),
contextIsolation: true,
- nodeIntegration: false
+ nodeIntegration: false,
+ sandbox: false
}
});
await win.loadURL(`data:text/html;base64,${monacoHtml}`);