Switched to instances names
cae75bfc3b (diff-99377c63fbe5425d01e6e128d8b6a4a9b3f2e18bb233155583875b8a65aef58f)
This commit is contained in:
parent
2050c571a9
commit
653f8f74ec
|
@ -19,10 +19,10 @@ function getInstances() {
|
||||||
|
|
||||||
if (request.status === 200) {
|
if (request.status === 200) {
|
||||||
const instances = JSON.parse(request.responseText);
|
const instances = JSON.parse(request.responseText);
|
||||||
const nitterRandomPool = addHttps(filterInstances(instances.twitter)).join(',');
|
const nitterRandomPool = addHttps(filterInstances(instances.nitter)).join(',');
|
||||||
const invidiousRandomPool = addHttps(filterInstances(instances.youtube)).join(',');
|
const invidiousRandomPool = addHttps(filterInstances(instances.invidious)).join(',');
|
||||||
const bibliogramRandomPool = addHttps(filterInstances(instances.instagram)).join(',');
|
const bibliogramRandomPool = addHttps(filterInstances(instances.bibliogram)).join(',');
|
||||||
const scribeRandomPool = addHttps(filterInstances(instances.wikipedia)).join(',')
|
const scribeRandomPool = addHttps(filterInstances(instances.wikiless)).join(',')
|
||||||
browser.storage.sync.set({ nitterRandomPool, invidiousRandomPool, bibliogramRandomPool, scribeRandomPool});
|
browser.storage.sync.set({ nitterRandomPool, invidiousRandomPool, bibliogramRandomPool, scribeRandomPool});
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue