Fix 403 Forbidden: Rename index.html to index.php

This commit is contained in:
z0rayy
2026-06-10 16:41:31 +07:00
parent 24e75d6377
commit 48ea36d312
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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
View File
+1 -1
View File
@@ -49,7 +49,7 @@
<button type="submit" class="btn">Login</button>
</form>
</div>
<a href="index.html" class="back-link">← Kembali ke Beranda</a>
<a href="index.php" class="back-link">← Kembali ke Beranda</a>
</div>
<script>
+1 -1
View File
@@ -199,7 +199,7 @@
<div class="sidebar-item-icon">🗺</div>
<div class="sidebar-item-text">Peta Kemiskinan</div>
</div>
<a href="index.html" class="sidebar-item">
<a href="index.php" class="sidebar-item">
<div class="sidebar-item-icon">🏠</div>
<div class="sidebar-item-text">Beranda</div>
</a>
+1 -1
View File
@@ -200,7 +200,7 @@
<div class="sidebar-item-icon">🗺</div>
<div class="sidebar-item-text">Peta SPBU</div>
</div>
<a href="index.html" class="sidebar-item">
<a href="index.php" class="sidebar-item">
<div class="sidebar-item-icon">🏠</div>
<div class="sidebar-item-text">Beranda</div>
</a>