Skip to content

Commit

Permalink
Remove content_security_policy entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
lavoiesl committed May 28, 2024
1 parent 3082da6 commit 5ac5629
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/controllers/maintenance_tasks/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ module MaintenanceTasks
#
# Can be extended to add different authentication and authorization code.
class ApplicationController < MaintenanceTasks.parent_controller.constantize
content_security_policy do |policy|
policy.style_src("'self'")
policy.script_src("'self'")
policy.frame_ancestors(:self)
end

protect_from_forgery with: :exception
end
end

0 comments on commit 5ac5629

Please sign in to comment.