add / after cli callback host

This commit is contained in:
Maidul Islam
2023-10-05 15:42:21 -04:00
parent 0b3b014bf5
commit ee80f4a89b
4 changed files with 4 additions and 4 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://127.0.0.1:${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() })
}