Skip to content

Commit

Permalink
fix: Content Security Policy
Browse files Browse the repository at this point in the history
  • Loading branch information
dfritschy committed Jun 11, 2021
1 parent abf964d commit 576a541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Content Security Policy
# Pre-existing site that uses too much inline code to fix
# but wants to ensure resources are loaded only over https and disable plugins
Header set Content-Security-Policy "default-src 'none'; script-src 'self' 'unsafe-inline'; style-src 'self'; img-src 'self' data:; frame-ancestors 'self'; report-uri https://webmanufaktur.report-uri.com/r/d/csp/reportOnly'"
Header set Content-Security-Policy-Report-Only "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self'; img-src 'self' data:; frame-ancestors 'self'; report-uri https://webmanufaktur.report-uri.com/r/d/csp/reportOnly'"

# HTTP Strict Transport Security
# Only connect to this site and subdomains via HTTPS for the next two years
Expand Down

0 comments on commit 576a541

Please sign in to comment.