File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# Be sure to restart your server when you modify this file.
22
33# Version of your assets, change this if you want to expire all your assets.
4- Rails . application . config . assets . version = ' 1.0'
4+ Rails . application . config . assets . version = " 1.0"
55
66# Add additional assets to the asset load path.
77# Rails.application.config.assets.paths << Emoji.images_path
Original file line number Diff line number Diff line change 1616# # policy.report_uri "/csp-violation-report-endpoint"
1717# end
1818#
19- # # Generate session nonces for permitted importmap and inline scripts
19+ # # Generate session nonces for permitted importmap, inline scripts, and inline styles.
2020# config.content_security_policy_nonce_generator = ->(request) { request.session.id.to_s }
21- # config.content_security_policy_nonce_directives = %w(script-src)
21+ # config.content_security_policy_nonce_directives = %w(script-src style-src )
2222#
2323# # Report violations without enforcing the policy.
2424# # config.content_security_policy_report_only = true
You can’t perform that action at this time.
0 commit comments