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:
parent
7221bc57b5
commit
22a6a0073d
1 changed files with 1 additions and 1 deletions
|
@ -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';"
|
||||
}};
|
||||
|
|
Loading…
Add table
Reference in a new issue