Frontend: fixed registering again

main
Luna 2021-07-26 16:48:15 -07:00
parent cbe1b254cc
commit 62614bf461
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ form.addEventListener("submit", async function (event) {
//CHECKS IF A USERNAME IS TAKEN
async function isUnameTaken() {
const response = await fetch(`../api/users/${uname}/`);
const response = await fetch(`/api/users/${uname}/`);
const isTaken = await response.json();
//YES THIS IS CONFUSING I KNOW.