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

This commit is contained in:
Peter Xu 2023-03-28 01:27:55 +08:00 committed by GitHub
parent fda8ea9277
commit 1e106c8aa4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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