summaryrefslogtreecommitdiff
path: root/background
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-01-18 18:55:05 +0100
committerWojtek Kosior <koszko@koszko.org>2022-01-18 19:28:11 +0100
commit046b8a7b3e7259bf451926732e6221076b1d4153 (patch)
tree3746d157139ba88f7c78a7d17cd97a6e5cf48a6a /background
parent17614206a6e23900e0ddd91c4e4e40ec08eaec99 (diff)
downloadbrowser-extension-046b8a7b3e7259bf451926732e6221076b1d4153.tar.gz
browser-extension-046b8a7b3e7259bf451926732e6221076b1d4153.zip
facilitate caching repository responses in content scripts
Diffstat (limited to 'background')
-rw-r--r--background/CORS_bypass_server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/background/CORS_bypass_server.js b/background/CORS_bypass_server.js
index cbed945..664100b 100644
--- a/background/CORS_bypass_server.js
+++ b/background/CORS_bypass_server.js
@@ -76,7 +76,7 @@ async function perform_download(fetch_data, respond_cb) {
}
function on_CORS_bypass_request([type, fetch_data], sender, respond_cb) {
- if (type !== "CORS_bypasss")
+ if (type !== "CORS_bypass")
return;
perform_download(fetch_data).then(respond_cb);