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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user