forked from Ailur/burgernotes-server
Fixed logout
This commit is contained in:
parent
007e42bf7d
commit
4255a3f107
|
@ -233,7 +233,7 @@ usernameBox.addEventListener("click", (event) => {
|
|||
updateUserInfo()
|
||||
});
|
||||
logOutButton.addEventListener("click", (event) => {
|
||||
window.location.replace("https://notes.hectabit.org/api/logout")
|
||||
window.location.replace("/logout/index.html")
|
||||
});
|
||||
exitThing.addEventListener("click", (event) => {
|
||||
optionsDiv.classList.add("hidden")
|
||||
|
|
Loading…
Reference in New Issue