Skip to content

Commit

Permalink
CSP in firefox manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
tolya-yanot committed Mar 7, 2022
1 parent 95d9e7c commit d30f5f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/firefox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"description": "Set up your own TON Wallet on The Open Network.",
"version": "1.1.33",

"content_security_policy": "default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src https://toncenter.com/api/v2/jsonRPC https://testnet.toncenter.com/api/v2/jsonRPC",

"browser_action": {
"default_icon": "assets/icon_32x32.png",
"default_popup": "popup.html"
Expand All @@ -18,7 +20,9 @@
"persistent": true
},
"permissions": [
"webRequest"
"webRequest",
"https://toncenter.com/api/v2/jsonRPC",
"https://testnet.toncenter.com/api/v2/jsonRPC"
],
"content_scripts": [
{
Expand Down

0 comments on commit d30f5f3

Please sign in to comment.