Skip to content

Commit

Permalink
Revert "enforce content security policy (lobsters#711)" (lobsters#737)
Browse files Browse the repository at this point in the history
This reverts commit 57cf63d.
  • Loading branch information
pushcx authored Sep 11, 2019
1 parent 57cf63d commit dc54dab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion config/initializers/content_security_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# 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 = false
Rails.application.config.content_security_policy_report_only = true
18 changes: 0 additions & 18 deletions spec/requests/content_security_policy_spec.rb

This file was deleted.

0 comments on commit dc54dab

Please sign in to comment.