|
|
@@ -60,7 +60,7 @@ export const useLogin = () => {
|
|
|
// Get the tokens using the received authorization code
|
|
|
const code = searchParams.get("code");
|
|
|
console.log("code", code);
|
|
|
- fetch("http://localhost:3000/auth/login", {
|
|
|
+ fetch("https://localhost/occ/api/auth/login", {
|
|
|
method: "POST",
|
|
|
headers: new Headers({
|
|
|
"Content-Type": "application/json"
|