summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorispedals <ispedals@users.noreply.github.com>2016-06-19 12:46:39 -0400
committerispedals <ispedals@users.noreply.github.com>2016-06-19 12:54:35 -0400
commita9863de95e201c8e814ad7d6dacedae98b13748a (patch)
treef04b1ffd3e5d7fb9fa6047e9aeac8fde84aa4160
parent099d48ef48a065001a6b4a0ab29c567935af1f25 (diff)
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.
-rw-r--r--ext/manifest.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/manifest.json b/ext/manifest.json
index d9367946..70ce4a9a 100644
--- a/ext/manifest.json
+++ b/ext/manifest.json
@@ -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",