Skip to content

Commit

Permalink
docs: fixup incorrect value for disabling sandbox (#37721)
Browse files Browse the repository at this point in the history
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Peter Xu <sysu.peter.hsu@gmail.com>
  • Loading branch information
trop[bot] and xupea committed Mar 28, 2023
1 parent 3adb49a commit ee9484e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit ee9484e

Please sign in to comment.