Skip to content

Commit d20ddb0

Browse files
committed
here's what has to work. now to figure out how to make it work
1 parent b9033e6 commit d20ddb0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

config/initializers/content_security_policy.rb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
# Set the nonce only to specific directives
2929
Rails.application.config.content_security_policy_nonce_directives = %w(script-src)
3030

31-
# # Report CSP violations to a specified URI
32-
# # For further information see the following documentation:
33-
# # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
34-
# Rails.application.config.content_security_policy_report_only = false
35-
# TEMPORARILY TRUE WHILE WE GET THE HANG OF JSBUNDLING
36-
Rails.application.config.content_security_policy_report_only = true
31+
# Report CSP violations to a specified URI
32+
# For further information see the following documentation:
33+
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
34+
Rails.application.config.content_security_policy_report_only = false

0 commit comments

Comments
 (0)