Fix 403 Forbidden: Rename index.html to index.php
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -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>
|
||||
|
||||
+2
-2
@@ -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>
|
||||
@@ -448,4 +448,4 @@
|
||||
initMap();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -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>
|
||||
@@ -439,4 +439,4 @@
|
||||
loadSPBU();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user