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

Commit

Permalink
Switch to selectlist fork with nonce support (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdenio authored Mar 14, 2024
1 parent d8dfc1e commit 9cc2b76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion config/importmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
pin "@github/webauthn-json/browser-ponyfill", to: "https://ga.jspm.io/npm:@github/[email protected]/dist/esm/webauthn-json.browser-ponyfill.js"
pin "url-safe-base64", to: "https://ga.jspm.io/npm:[email protected]/src/index.js"
pin_all_from "app/javascript"
pin "selectlist", to: "https://esm.sh/selectlist-polyfill@0.3.0", preload: true
pin "selectlist", to: "https://esm.sh/gh/cjdenio/selectlist-polyfill@ff6dd0f366/src/polyfill.js"
pin "cursor-chat", to: "https://esm.sh/gh/obl-ong/cursor-chat-actioncable@9befe0089b/dist/cursor-chat.es.js"
pin "local-time", to: "https://ga.jspm.io/npm:[email protected]/app/assets/javascripts/local-time.es2017-esm.js"
1 change: 0 additions & 1 deletion config/initializers/content_security_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
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
# policy.report_uri "/csp-violation-report-endpoint"
end
Expand Down

0 comments on commit 9cc2b76

Please sign in to comment.