Update Content Security Policy to allow data fonts and blob workers
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
2b5eabdd22
commit
d2c70ee746
|
@ -49,7 +49,7 @@
|
|||
X-Frame-Options "SAMEORIGIN"
|
||||
|
||||
# Update CSP to allow media content, scripts, and blob URLs
|
||||
Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; media-src 'self' blob:; font-src 'self'; connect-src 'self'; frame-ancestors 'none'; block-all-mixed-content;"
|
||||
Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' blob:; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; media-src 'self' blob:; font-src 'self' data:; connect-src 'self'; frame-ancestors 'none'; worker-src 'self' blob:"
|
||||
|
||||
# Remove Server header
|
||||
-Server
|
||||
|
|
Loading…
Reference in New Issue