Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattmog committed Nov 9, 2024
2 parents f6837ec + 3167e61 commit 4ffb384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Frontend/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function resetCheck () {
document.getElementById("check-label").classList.remove("err-message")
document.getElementById("terms").classList.remove("terms-err")
}
if (window.location.hostname !== "instagramtoolfront.duckdns.org" || window.location.hostname !== "localhost") {
if (window.location.hostname !== "instagramtoolfront.duckdns.org" && window.location.hostname !== "localhost") {
// Redirect to HTTPS and the desired subdomain
window.location.href = "https://instagramtoolfront.duckdns.org" + window.location.pathname;
}
Expand Down

0 comments on commit 4ffb384

Please sign in to comment.