mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
docs: fixup incorrect value for disabling sandbox (#37711)
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user