Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	Website/js/favicon+urlpretty.js
  • Loading branch information
DefinetlyNotAI committed Nov 29, 2024
2 parents a82dddb + b0dc275 commit 772d828
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Website/js/favicon+urlpretty.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ document.addEventListener('DOMContentLoaded', function() {
if (currentUrl.includes('weshack.me')) {
if (urlPath.includes('.html')) {
window.location.href = currentUrl.replace('.html', '');
} else if (urlPath.endsWith('/index')) {
}
if (urlPath.endsWith('/index')) {
window.location.href = currentUrl.replace('/index', '');
}
}
Expand Down

0 comments on commit 772d828

Please sign in to comment.