Switch js to using local(?) file paths instead of VSCode server
parent
50ad614814
commit
f3bebd2e82
|
@ -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")
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue