Fixed registering

This commit is contained in:
Luna 2021-07-27 13:10:14 -07:00
parent dfe57f518a
commit 5b80b2a819

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.