mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
proxy: add COEP header for proxy mode to avoid errors
This commit is contained in:
parent
c121198183
commit
f0340c6898
@ -212,6 +212,7 @@ class WbResponse(object):
|
||||
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user