File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -188,8 +188,8 @@ http {
188
188
add_header X-Frame-Options "SAMEORIGIN";
189
189
add_header X-XSS-Protection "1; mode=block";
190
190
191
- add_header Content-Security-Policy "default-src 'self'; connect-src 'self' https://docs.rs https://<%= s3_host(ENV) %> ; script-src 'self' 'unsafe-eval' https://www.google.com https://www.gstatic.com; style-src 'self' 'unsafe-inline' https://www.google.com https://ajax.googleapis.com https://fonts.googleapis.com; font-src: https://fonts.gstatic.com; img-src *; object-src 'none'";
192
- add_header Access-Control-Allow-Origin "*";
191
+ add_header Content-Security-Policy "default-src 'self'; connect-src 'self' https://docs.rs https://<%= s3_host(ENV) %> ; script-src 'self' 'unsafe-eval' https://www.google.com https://www.gstatic.com; style-src 'self' 'unsafe-inline' https://www.google.com https://ajax.googleapis.com https://fonts.googleapis.com; font-src https://fonts.gstatic.com; img-src *; object-src 'none'";
192
+ add_header Access-Control-Allow-Origin "*";
193
193
194
194
add_header Strict-Transport-Security "max-age=31536000" always;
195
195
add_header Vary 'Accept, Accept-Encoding, Cookie';
You can’t perform that action at this time.
0 commit comments