bug squah

This commit is contained in:
Luna 2021-07-18 10:51:36 -07:00
parent dc63fcdc3e
commit 54fab32116

View file

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