mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
fix mitmweb's content security policy
This commit is contained in:
parent
a781bab7db
commit
769123498c
@ -122,7 +122,7 @@ class RequestHandler(tornado.web.RequestHandler):
|
||||
self.add_header(
|
||||
"Content-Security-Policy",
|
||||
"default-src 'self'; "
|
||||
"connect-src 'self' ws://* ; "
|
||||
"connect-src 'self' ws:; "
|
||||
"style-src 'self' 'unsafe-inline'"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user