Skip to content

Commit

Permalink
Fix content security policy during deployment. (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhearsum committed Aug 20, 2019
1 parent 5766a38 commit faef97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-ui/scripts/deploy
Expand Up @@ -11,7 +11,7 @@ curl "${APP_CONFIG_SECRET}" | python3 -c 'import json, sys; a = json.load(sys.st

HEADERS=$(cat <<EOF
{ \
"Content-Security-Policy": "Content-Security-Policy: default-src 'none'; script-src 'self'; img-src 'self' https://.gravatar.com https://.githubusercontent.com https://i1.wp.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src https://fonts.gstatic.com; connect-src https://admin-stage.balrog.nonprod.cloudops.mozgcp.net/ https://auth.mozilla.auth0.com; frame-src https://auth.mozilla.auth0.com", \
"Content-Security-Policy": "default-src 'none'; script-src 'self'; img-src 'self' https://*.gravatar.com https://*.githubusercontent.com https://i1.wp.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src https://fonts.gstatic.com; connect-src https://admin-stage.balrog.nonprod.cloudops.mozgcp.net/ https://auth.mozilla.auth0.com; frame-src https://auth.mozilla.auth0.com", \
"Strict-Transport-Security": "max-age=63072000", \
"X-Content-Type-Options": "nosniff", \
"X-Frame-Options": "SAMEORIGIN", \
Expand Down

0 comments on commit faef97c

Please sign in to comment.