Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Commit

Permalink
Request permission to access localhost
Browse files Browse the repository at this point in the history
Permission is required to do XHR request to the domain. Otherwise
Gecko attempts to use CORS to negotiate the request, which AnkiConnect
does not expect.
  • Loading branch information
ispedals committed Jun 19, 2016
1 parent 0c42ef1 commit 31d51ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"options_ui": {
"page": "bg/options.html"
},
"permissions": ["storage"],
"permissions": ["*://127.0.0.1/*", "storage"],
"web_accessible_resources": [
"fg/css/frame.css",
"fg/img/add_kanji.png",
Expand Down

0 comments on commit 31d51ef

Please sign in to comment.