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 +