From 48ea36d312638ea834f64b8bb28b55a67cb6e762 Mon Sep 17 00:00:00 2001 From: z0rayy Date: Wed, 10 Jun 2026 16:41:31 +0700 Subject: [PATCH] Fix 403 Forbidden: Rename index.html to index.php --- admin.html | 2 +- build.js | 2 +- index.html => index.php | 0 login.html | 2 +- poverty.html | 4 ++-- spbu.html | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) rename index.html => index.php (100%) diff --git a/admin.html b/admin.html index 09b7071..ff83ae8 100644 --- a/admin.html +++ b/admin.html @@ -2036,7 +2036,7 @@ document.getElementById('logout-btn').addEventListener('click', async () => { try { await fetch('backend/logout.php'); - window.location.href = 'index.html'; + window.location.href = 'index.php'; } catch (err) { console.error(err); } diff --git a/build.js b/build.js index 9bca7da..b0bacf7 100644 --- a/build.js +++ b/build.js @@ -304,7 +304,7 @@ ${css} document.getElementById('logout-btn').addEventListener('click', async () => { await fetch('backend/logout.php'); - window.location.href = 'index.html'; + window.location.href = 'index.php'; }); // Global variables diff --git a/index.html b/index.php similarity index 100% rename from index.html rename to index.php diff --git a/login.html b/login.html index 7407a42..bfa88a3 100644 --- a/login.html +++ b/login.html @@ -49,7 +49,7 @@ - ← Kembali ke Beranda + ← Kembali ke Beranda - \ No newline at end of file + diff --git a/spbu.html b/spbu.html index a7dd760..e7df9cc 100644 --- a/spbu.html +++ b/spbu.html @@ -200,7 +200,7 @@ - + @@ -439,4 +439,4 @@ loadSPBU(); - \ No newline at end of file +