Not able to hit the API :
shetty-nithin opened this issue · 3 comments
Hello,
Thank you so much for the wonderful video first of all. Please help me with this issue, I'm stuck with this for the last 10 days, I did not get any help from the internet, not even from ChatGPT.
I have added many other features to the same project.
https://github.com/shetty-nithin/socialife_backend
https://github.com/shetty-nithin/socialife_frontend
My issue: Im trying to deploy the project on netlify, but im facing an issue.
- When both the front end and back end are running on the local host, both are communicating. I'm able to use the website.
- When the front end is deployed and the back end is running on the local host, then also it's working fine.
- But when the backend is deployed and the front end is running on the local host OR when both are deployed im not able to make the request from the front end
environment variables :
CLIENT_URL = https://socialife-api.netlify.app/
Frontend : https://socialife.netlify.app/login
Backend: https://socialife-api.netlify.app/
This is the error I'm getting when I try to login
typo :
CLIENT_URL = https://socialife.netlify.app/
Yeah , I am not able to register in your app