version 0.4.8

This commit is contained in:
Ray Lothian 2022-04-11 02:26:59 -04:00
parent 7ba2801918
commit ec08024455

View file

@ -110,7 +110,7 @@ function get(path) {
return cf; return cf;
} }
}).open('agents').catch(() => cf).then(cache => { }).open('agents').catch(() => cf).then(cache => {
const link = 'https://cdn.jsdelivr.net/gh/ray-lothian/UserAgent-Switcher/node/' + path; const link = 'https://cdn.jsdelivr.net/gh/ray-lothian/UserAgent-Switcher/extension/firefox/data/popup/' + path;
// updating agents once per 7 days // updating agents once per 7 days
chrome.storage.local.get({ chrome.storage.local.get({
['cache.' + path]: 0 ['cache.' + path]: 0