mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: security.md/session.md incorporated more review feedback
This commit is contained in:
@@ -387,7 +387,7 @@ session.defaultSession.webRequest.onHeadersReceived((details, callback) => {
|
||||
callback({
|
||||
responseHeaders: {
|
||||
...details.responseHeaders,
|
||||
'Content-Security-Policy': ['default-src \'none\'; script-src \'self\'']
|
||||
'Content-Security-Policy': ['default-src \'none\'']
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user