diff --git a/lib/roles/http/header.c b/lib/roles/http/header.c index adcdc9ead..4929a49d6 100644 --- a/lib/roles/http/header.c +++ b/lib/roles/http/header.c @@ -267,7 +267,7 @@ struct lws_protocol_vhost_options pvo_hsbph[] = {{ &pvo_hsbph[3], NULL, "content-security-policy:", "default-src 'none'; img-src 'self' data: ; " "script-src 'self'; font-src 'self'; " - "style-src 'self'; connect-src 'self'; " + "style-src 'self'; connect-src 'self' ws: wss:; " "frame-ancestors 'none'; base-uri 'none';" "form-action 'self';" }};