Fixed logout

This commit is contained in:
Tracker-Friendly 2024-02-27 17:55:47 +00:00
parent 007e42bf7d
commit 4255a3f107
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ usernameBox.addEventListener("click", (event) => {
updateUserInfo() updateUserInfo()
}); });
logOutButton.addEventListener("click", (event) => { logOutButton.addEventListener("click", (event) => {
window.location.replace("https://notes.hectabit.org/api/logout") window.location.replace("/logout/index.html")
}); });
exitThing.addEventListener("click", (event) => { exitThing.addEventListener("click", (event) => {
optionsDiv.classList.add("hidden") optionsDiv.classList.add("hidden")