diff options
author | Adam P <rflashster@gmail.com> | 2023-02-20 13:46:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 13:46:48 +0100 |
commit | 07871281c38a32537968b5749ed0b9e3556139ef (patch) | |
tree | caf6625c45c71beee04bee95cf5dbcc59739e0ee /src/assets/javascripts | |
parent | Added WolfreeAlpha https://github.com/libredirect/libredirect/issues/425 (diff) | |
download | libredirect-07871281c38a32537968b5749ed0b9e3556139ef.zip |
Preserve URL hash on wikiless redirection
Diffstat (limited to 'src/assets/javascripts')
-rw-r--r-- | src/assets/javascripts/services.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js index ecbf5726..d998a25b 100644 --- a/src/assets/javascripts/services.js +++ b/src/assets/javascripts/services.js @@ -475,7 +475,7 @@ function redirect(url, type, initiator, forceRedirection) { // wikiless doesn't have mobile view support yet } for (let i = 0; i < GETArguments.length; i++) link += (i == 0 ? "?" : "&") + GETArguments[i][0] + "=" + GETArguments[i][1] - return link + return link + url.hash } case "proxiTok": { if (url.pathname.startsWith('/email')) return |