fix mitmweb's content security policy

This commit is contained in:
Maximilian Hils 2017-04-28 14:13:36 +02:00
parent a781bab7db
commit 769123498c

View File

@ -122,7 +122,7 @@ class RequestHandler(tornado.web.RequestHandler):
self.add_header( self.add_header(
"Content-Security-Policy", "Content-Security-Policy",
"default-src 'self'; " "default-src 'self'; "
"connect-src 'self' ws://* ; " "connect-src 'self' ws:; "
"style-src 'self' 'unsafe-inline'" "style-src 'self' 'unsafe-inline'"
) )