chore: update to standard 12
This commit is contained in:
parent
9e85bdb02c
commit
558fff69e7
198 changed files with 4455 additions and 2940 deletions
|
@ -361,10 +361,10 @@ which can be set using Electron's
|
|||
handler:
|
||||
|
||||
```javascript
|
||||
const {session} = require('electron')
|
||||
const { session } = require('electron')
|
||||
|
||||
session.defaultSession.webRequest.onHeadersReceived((details, callback) => {
|
||||
callback({responseHeaders: `default-src 'none'`})
|
||||
callback({ responseHeaders: `default-src 'none'` })
|
||||
})
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue