Skip to content

Commit

Permalink
fix: handle crossOriginIsolated window (#318)
Browse files Browse the repository at this point in the history
* fix: handle crossOriginIsolation

* change to space

---------

Co-authored-by: Jimmy Wärting <[email protected]>
  • Loading branch information
qkdreyer and jimmywarting authored May 6, 2023
1 parent eea84e9 commit e548747
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ self.onfetch = event => {
'Content-Security-Policy': "default-src 'none'",
'X-Content-Security-Policy': "default-src 'none'",
'X-WebKit-CSP': "default-src 'none'",
'X-XSS-Protection': '1; mode=block'
'X-XSS-Protection': '1; mode=block',
'Cross-Origin-Embedder-Policy': 'require-corp'
})

let headers = new Headers(data.headers || {})
Expand Down

0 comments on commit e548747

Please sign in to comment.