Fixed typo for reddit switch instance #299

This commit is contained in:
ManeraKai 2022-05-31 06:33:41 +03:00
parent 81d1e26aef
commit e24df4d520
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ function switchInstance(url) {
if (instancesList.length === 0) { resolve(); return; }
const randomInstance = utils.getRandomInstance(instancesList);
resolve(`${randomInstance}${url.pathname}${url.reddit}`);
resolve(`${randomInstance}${url.pathname}${url.search}`);
})
}