Skip to content

Commit

Permalink
proxy: add COEP header for proxy mode to avoid errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Aug 21, 2022
1 parent c121198 commit f0340c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pywb/apps/wbrequestresponse.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def add_access_control_headers(self, env=None):
self.status_headers.replace_header('Access-Control-Allow-Methods', allowed_methods)
self.status_headers.replace_header('Access-Control-Allow-Credentials', 'true')
self.status_headers.replace_header('Access-Control-Max-Age', '1800')
self.status_headers.replace_header('Cross-Origin-Resource-Policy', 'cross-origin')
return self

def __repr__(self):
Expand Down

0 comments on commit f0340c6

Please sign in to comment.