bug squah

main
Luna 2021-07-18 10:51:36 -07:00
parent dc63fcdc3e
commit 54fab32116
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ form.addEventListener("submit", async function(event) {
uname = formData.get('uname'); uname = formData.get('uname');
pin = formData.get('pin'); pin = formData.get('pin');
const response = await fetch(`/users/${uname}/${pin}`); const response = await fetch(`/api/users/${uname}/${pin}`);
const loginInfo = await response.json(); const loginInfo = await response.json();
if (loginInfo.status === "ok") { if (loginInfo.status === "ok") {