Skip to content

Commit

Permalink
Add blob: to CSP image-src
Browse files Browse the repository at this point in the history
  • Loading branch information
ppacher committed Dec 1, 2023
1 parent 3afd500 commit 9a29e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:",
)
}

Expand Down

0 comments on commit 9a29e2e

Please sign in to comment.