change broswer based login from localhost to 127.0.0.1

This commit is contained in:
Maidul Islam
2023-10-05 11:19:29 -04:00
parent 5fce85ca41
commit 28ad403665
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export const Login = () => {
const callbackPort = queryParams.get("callback_port")
// send post request to cli with details
const cliUrl = `http://localhost:${callbackPort}`
const cliUrl = `http://127.0.0.1:${callbackPort}`
const instance = axios.create()
await instance.post(cliUrl, { email: userDetails.email, privateKey: localStorage.getItem("PRIVATE_KEY"), JTWToken: getAuthToken() })
}