Skip to content

Commit

Permalink
fixed redirect.js
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumbagel committed Mar 1, 2024
1 parent 21c2af9 commit a856c35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/redirect.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
if (document.URL !== document.URL.toLowerCase()) {
document.URL = document.URL.toLowerCase();
if (location.href !== document.URL.toLowerCase()) {
location.href = document.URL.toLowerCase();
}

0 comments on commit a856c35

Please sign in to comment.