docs: fixup incorrect value for disabling sandbox (#37711)
This commit is contained in:
parent
fda8ea9277
commit
1e106c8aa4
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ the `sandbox: false` preference in the [`BrowserWindow`][browser-window] constru
|
||||||
app.whenReady().then(() => {
|
app.whenReady().then(() => {
|
||||||
const win = new BrowserWindow({
|
const win = new BrowserWindow({
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
sandbox: true
|
sandbox: false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
win.loadURL('https://google.com')
|
win.loadURL('https://google.com')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue