Add blob: to CSP image-src

This commit is contained in:
Patrick Pacher 2023-12-01 11:47:44 +01:00
parent 3afd5009bf
commit 9a29e2e4c2

View file

@ -147,7 +147,7 @@ func (mh *mainHandler) handle(w http.ResponseWriter, r *http.Request) error {
"default-src 'self'; "+
"connect-src https://*.safing.io 'self'; "+
"style-src 'self' 'unsafe-inline'; "+
"img-src 'self' data:",
"img-src 'self' data: blob:",
)
}