always check if the csp is empty
This commit is contained in:
parent
1ae30d1d9c
commit
047008e9e3
|
@ -17,7 +17,7 @@
|
||||||
<IfModule mod_version.c>
|
<IfModule mod_version.c>
|
||||||
<IfVersion >= 2.4.7>
|
<IfVersion >= 2.4.7>
|
||||||
# Add CSP header if not set, used for static resources
|
# Add CSP header if not set, used for static resources
|
||||||
Header setifempty Content-Security-Policy "default-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self'"
|
Header always setifempty Content-Security-Policy "default-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self'"
|
||||||
</IfVersion>
|
</IfVersion>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
Loading…
Reference in New Issue