From 1e106c8aa41b18b02ade44a54e6bd558d725fc37 Mon Sep 17 00:00:00 2001 From: Peter Xu Date: Tue, 28 Mar 2023 01:27:55 +0800 Subject: [PATCH] docs: fixup incorrect value for disabling sandbox (#37711) --- docs/tutorial/sandbox.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/sandbox.md b/docs/tutorial/sandbox.md index 55a9b6ed2ed6..472b1900efe2 100644 --- a/docs/tutorial/sandbox.md +++ b/docs/tutorial/sandbox.md @@ -84,7 +84,7 @@ the `sandbox: false` preference in the [`BrowserWindow`][browser-window] constru app.whenReady().then(() => { const win = new BrowserWindow({ webPreferences: { - sandbox: true + sandbox: false } }) win.loadURL('https://google.com')