Request permission to access localhost

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.
This commit is contained in:
ispedals 2016-06-19 12:46:39 -04:00
parent 099d48ef48
commit a9863de95e

View File

@ -18,7 +18,7 @@
"options_ui": { "options_ui": {
"page": "bg/options.html" "page": "bg/options.html"
}, },
"permissions": ["storage"], "permissions": ["*://127.0.0.1/*", "storage"],
"web_accessible_resources": [ "web_accessible_resources": [
"fg/css/frame.css", "fg/css/frame.css",
"fg/img/add_kanji.png", "fg/img/add_kanji.png",