From 81b655638f8c0e8c1f77553f7f748474878efed0 Mon Sep 17 00:00:00 2001 From: cocaillot Date: Sat, 8 Mar 2025 23:04:26 +0100 Subject: [PATCH] last fix I hope --- httpdocs/toggle.js | 6 +++--- httpdocs/{under_construction.html => under_dev.html} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename httpdocs/{under_construction.html => under_dev.html} (100%) diff --git a/httpdocs/toggle.js b/httpdocs/toggle.js index e90cd4c..054afa6 100644 --- a/httpdocs/toggle.js +++ b/httpdocs/toggle.js @@ -1,7 +1,7 @@ const devMode = true; // set to false when you want to go back to your normal site -if(devMode && window.location.pathname !== '/under-construction.html'){ - window.location.replace('under-construction.html'); -} else if (!devMode && window.location.pathname === '/under-construction.html') { +if(devMode && window.location.pathname !== '/under-dev.html'){ + window.location.replace('under-dev.html'); +} else if (!devMode && window.location.pathname === '/under-dev.html') { window.location.replace('index.html'); } \ No newline at end of file diff --git a/httpdocs/under_construction.html b/httpdocs/under_dev.html similarity index 100% rename from httpdocs/under_construction.html rename to httpdocs/under_dev.html