From 046b8a7b3e7259bf451926732e6221076b1d4153 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 18 Jan 2022 18:55:05 +0100 Subject: facilitate caching repository responses in content scripts --- background/CORS_bypass_server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background') 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); -- cgit v1.2.3