Switch js to using local(?) file paths instead of VSCode server

pull/5/head
~erin 2021-07-18 14:30:24 -04:00
parent 50ad614814
commit f3bebd2e82
Signed by: erin
GPG Key ID: DA70E064A8C70F44
2 changed files with 2 additions and 2 deletions

View File

@ -59,5 +59,5 @@ const rawResponse = await fetch(`/api/users/change/${uname}/${pin}/${newUname}/$
body: ""
});
document.querySelector("#incorrect").innerHTML = 'Login Changed!'
window.location.replace("http://127.0.0.1:5500/login.html")
window.location.replace("/login.html")
}

View File

@ -49,6 +49,6 @@ const rawResponse = await fetch(`/api/register/${uname.toString().toLowerCase()}
body: ""
});
document.querySelector("#taken").innerHTML = 'Registered!'
window.location.replace("http://127.0.0.1:5500/login.html")
window.location.replace("/login.html")
}