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 <sysu.peter.hsu@gmail.com>
This commit is contained in:
trop[bot]
2023-03-27 20:40:48 -04:00
committed by GitHub
parent 3adb49a831
commit ee9484e05c

View File

@@ -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')