diff options
author | ManeraKai <manerakai@protonmail.com> | 2023-02-20 13:11:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 13:11:09 +0000 |
commit | b74a97b47e1e6b2575ccf02769145a8b7cc1c34b (patch) | |
tree | caf6625c45c71beee04bee95cf5dbcc59739e0ee /src/assets/javascripts | |
parent | Added WolfreeAlpha https://github.com/libredirect/libredirect/issues/425 (diff) | |
parent | Preserve URL hash on wikiless redirection (diff) | |
download | libredirect-b74a97b47e1e6b2575ccf02769145a8b7cc1c34b.zip |
Merge pull request #635 from r-flash/patch-1
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 |