Sha256: c5e8e78f7eca7e5f76528de1f365ce0fcd3000957a6661fcf4ecee3422998dff

Contents?: true

Size: 1.08 KB

Versions: 38

Compression:

Stored size: 1.08 KB

Contents

# typed: strong
# 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

#   # 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

38 entries across 38 versions & 1 rubygems

Version Path
sorbet-rails-0.7.34 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.33 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.32 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.31 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.27 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.26 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.25 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.24 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.23 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.22 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.20 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.19 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.18 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.5 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.4 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.3 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.2 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.1 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.7.0 spec/support/v5.2/config/initializers/content_security_policy.rb
sorbet-rails-0.6.5.1 spec/support/v5.2/config/initializers/content_security_policy.rb