Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Update content_security_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
reesericci authored Mar 14, 2024
1 parent 71ccbc6 commit bac824b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/content_security_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
policy.font_src :self, :data
policy.img_src :self, :data
policy.object_src :none
policy.script_src :self, "https://rebound.postmarkapp.com"
policy.style_src :self, "https://unpkg.com/cursor-chat/dist/style.css"
policy.script_src :self, "https://rebound.postmarkapp.com", "https://code.ionicframework.com", "https://cdn.jsdelivr.net/npm/toastify-js"
policy.style_src :self, "https://unpkg.com/cursor-chat/dist/style.css", "https://code.ionicframework.com", "https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css"
policy.style_src_attr :self, "'unsafe-inline'"
policy.style_src_elem :self, "'unsafe-inline'"
# Specify URI for violation reports
Expand Down

0 comments on commit bac824b

Please sign in to comment.