fix(client): fixed api url

This commit is contained in:
carraya 2022-04-16 22:16:52 -04:00
parent c96ae5a316
commit 8074b7d042

View File

@ -21,7 +21,10 @@ export default function AuthComponent() {
}), }),
}; };
const response = await fetch("localhost:8000/api/token/", requestOptions); const response = await fetch(
"http://localhost:8000/api/token/",
requestOptions
);
const data = await response.json(); const data = await response.json();
console.log(data); console.log(data);