From dcf8c3617c3f894755cb550655ce4b3e5134f704 Mon Sep 17 00:00:00 2001 From: Chris Holland Date: Sat, 14 Jan 2023 21:56:42 -0500 Subject: [PATCH] Fix firefox/data/popup/browsers/ URL path broken after 2e4a330 Eg: https://cdn.jsdelivr.net/gh/ray-lothian/UserAgent-Switcher/v2/firefox/data/popup/browsers/chrome-windows.json --- v2/firefox/data/popup/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/firefox/data/popup/index.js b/v2/firefox/data/popup/index.js index 54de7413..9affe9b5 100644 --- a/v2/firefox/data/popup/index.js +++ b/v2/firefox/data/popup/index.js @@ -110,7 +110,7 @@ function get(path) { return cf; } }).open('agents').catch(() => cf).then(cache => { - const link = 'https://cdn.jsdelivr.net/gh/ray-lothian/UserAgent-Switcher/extension/firefox/data/popup/' + path; + const link = 'https://cdn.jsdelivr.net/gh/ray-lothian/UserAgent-Switcher/v2/firefox/data/popup/' + path; // updating agents once per 7 days chrome.storage.local.get({ ['cache.' + path]: 0