diff --git a/WEBROOT/main.js b/WEBROOT/main.js index b3ebf8f..f8bd056 100644 --- a/WEBROOT/main.js +++ b/WEBROOT/main.js @@ -27,7 +27,7 @@ document.querySelectorAll('.group-title').forEach(title => { const logoutButton = document.getElementById('logoutButton'); logoutButton.addEventListener('click', () => { - fetch('services/logout.php', { method: 'POST' }) + fetch('logout.php', { method: 'POST' }) .then(() => { window.location.href = 'login.php'; });