Skip to content

Commit

Permalink
Try removing unsafe-eval
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 28, 2024
1 parent a7e59c7 commit c84ee53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions geoportal/vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -824,12 +824,12 @@ vars:
content_security_policy_main_img_src_extra: 'blob:'

# For production.
content_security_policy_main_script_src_extra: "'unsafe-eval'
content_security_policy_main_script_src_extra: '
https://maps.google.com/
https://maps.googleapis.com/
https://www.google-analytics.com/"
https://www.google-analytics.com/'
# For development.
# content_security_policy_main_script_src_extra: "'unsafe-eval'
# content_security_policy_main_script_src_extra: "
# https://maps.google.com/
# https://maps.googleapis.com/
# https://www.google-analytics.com/
Expand Down

0 comments on commit c84ee53

Please sign in to comment.