mirror of
https://github.com/Rushilwiz/rounded.git
synced 2025-04-09 22:00:18 -04:00
fix(client): fixed api url
This commit is contained in:
parent
c96ae5a316
commit
8074b7d042
|
@ -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();
|
||||
console.log(data);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user