From 74c818c95454bac03ae93b75c3a0f736eae3b6a7 Mon Sep 17 00:00:00 2001 From: wyattmog <145526766+wyattmog@users.noreply.github.com> Date: Mon, 11 Nov 2024 13:13:00 -0600 Subject: [PATCH] Update index.js --- Frontend/js/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Frontend/js/index.js b/Frontend/js/index.js index dd0ec11..a498ca5 100644 --- a/Frontend/js/index.js +++ b/Frontend/js/index.js @@ -22,10 +22,6 @@ 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") { - // Redirect to HTTPS and the desired subdomain - window.location.href = "https://instagramtoolfront.duckdns.org" + window.location.pathname; -} window.onload = async function() { const res = await fetch(baseUrl + '/protected', { method: 'GET',