mirror of
https://github.com/Rushilwiz/rounded.git
synced 2025-04-20 11:00:16 -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();
|
const data = await response.json();
|
||||||
console.log(data);
|
console.log(data);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user