1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

safari: update default CSP to specify ws and wss schema

https://github.com/warmcat/libwebsockets/issues/1806
This commit is contained in:
Andy Green 2019-12-26 22:11:04 +00:00
parent 7221bc57b5
commit 22a6a0073d

View file

@ -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';"
}};