Fixed typo for reddit switch instance #299
This commit is contained in:
parent
81d1e26aef
commit
e24df4d520
|
@ -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}`);
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue