nagasurendra commited on
Commit
242e1e9
·
verified ·
1 Parent(s): 820dc7a

Update templates/dashboard.html

Browse files
Files changed (1) hide show
  1. templates/dashboard.html +1 -1
templates/dashboard.html CHANGED
@@ -15,7 +15,7 @@
15
  function logout() {
16
  fetch('/logout', { method: 'GET' }) // Call Flask logout route
17
  .then(response => {
18
- window.location.href = "/login"; // Redirect to login page
19
  })
20
  .catch(error => console.error("Logout failed", error));
21
  }
 
15
  function logout() {
16
  fetch('/logout', { method: 'GET' }) // Call Flask logout route
17
  .then(response => {
18
+ window.location.href = "/logout"; // Redirect to login page
19
  })
20
  .catch(error => console.error("Logout failed", error));
21
  }