mirror of
https://github.com/safing/portbase
synced 2025-09-04 03:29:59 +00:00
Add connect-src entry for *.safing.io
This commit is contained in:
parent
49c21c83f8
commit
b5e6e67e49
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ func (mh *mainHandler) handle(w http.ResponseWriter, r *http.Request) error {
|
||||||
w.Header().Set(
|
w.Header().Set(
|
||||||
"Content-Security-Policy",
|
"Content-Security-Policy",
|
||||||
"default-src 'self'; "+
|
"default-src 'self'; "+
|
||||||
|
"connect-src https://*.safing.io 'self'; "+
|
||||||
"style-src 'self' 'unsafe-inline'; "+
|
"style-src 'self' 'unsafe-inline'; "+
|
||||||
"img-src 'self' data:",
|
"img-src 'self' data:",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue