Skip to content

Commit

Permalink
[docs] Update js
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-akira committed Aug 7, 2024
1 parent 822f4c0 commit ca7efc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/redirect/redirect.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const r = new URLSearchParams(window.location.search).get("r")
if(r) window.location.replace(r)
const r = new URLSearchParams(window.location.search).get("r");
if(r) window.location.replace(r);
history.back();

0 comments on commit ca7efc6

Please sign in to comment.