fix imgur reidrect
This commit is contained in:
parent
7ea9fdfea0
commit
ce6bf10208
1 changed files with 2 additions and 1 deletions
|
@ -167,7 +167,8 @@ function redirectImgur() {
|
|||
let farsideRimgo = farsideInstance + "/rimgo";
|
||||
|
||||
window.stop();
|
||||
location.hostname = farsideRimgo;
|
||||
let newURL = window.location.protocol + "//" + farsideRimgo + window.location.pathname + window.location.search + window.location.hash;
|
||||
window.location.replace(newURL);
|
||||
}
|
||||
|
||||
function redirectMedium() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue