Browse Source

docs: fixup incorrect value for disabling sandbox (#37721)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Peter Xu <[email protected]>
trop[bot] 2 years ago
parent
commit
ee9484e05c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/tutorial/sandbox.md

+ 1 - 1
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')