Sha256: 1535d1ef23b4c0ac6bbe14c57ce93c883a866912b2e6d9dcd886c3e2d97c8380

Contents?: true

Size: 1.25 KB

Versions: 9

Compression:

Stored size: 1.25 KB

Contents

# Be sure to restart your server when you modify this file.

# Define an application-wide content security policy
# For further information see the following documentation
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy

# Rails.application.config.content_security_policy do |policy|
#   policy.default_src :self, :https
#   policy.font_src    :self, :https, :data
#   policy.img_src     :self, :https, :data
#   policy.object_src  :none
#   policy.script_src  :self, :https
#   policy.style_src   :self, :https
#   # If you are using webpack-dev-server then specify webpack-dev-server host
#   policy.connect_src :self, :https, "http://localhost:3035", "ws://localhost:3035" if Rails.env.development?

#   # Specify URI for violation reports
#   # policy.report_uri "/csp-violation-report-endpoint"
# end

# If you are using UJS then enable automatic nonce generation
# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) }

# Report CSP violations to a specified URI
# For further information see the following documentation:
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
# Rails.application.config.content_security_policy_report_only = true

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
bugsnag-6.15.0 features/fixtures/rails6/app/config/initializers/content_security_policy.rb
bugsnag-6.14.0 features/fixtures/rails6/app/config/initializers/content_security_policy.rb
bugsnag-6.13.1 features/fixtures/rails6/app/config/initializers/content_security_policy.rb
rabl-0.14.3 fixtures/rails6/config/initializers/content_security_policy.rb
bugsnag-6.13.0 features/fixtures/rails6/app/config/initializers/content_security_policy.rb
bugsnag-6.12.2 features/fixtures/rails6/app/config/initializers/content_security_policy.rb
rabl-0.14.2 fixtures/rails6/config/initializers/content_security_policy.rb
bugsnag-6.12.1 features/fixtures/rails6/app/config/initializers/content_security_policy.rb
bugsnag-6.12.0 features/fixtures/rails6/app/config/initializers/content_security_policy.rb