We're a place where coders share, stay up-to-date and grow their careers.
Since the backend is hosted on port 8080, the call to the login endpoint should be localhost:8080/login
This seems logic, but I am not sure where to edit the port.
What's the content of your .env file? Seems you saved your endpoint URL in your .env file?
SOLVED! thanks for help. I was wrongly indicating the URL in the main file. Thanks again.
You are welcome.
Since the backend is hosted on port 8080, the call to the login endpoint should be localhost:8080/login
This seems logic, but I am not sure where to edit the port.
What's the content of your .env file? Seems you saved your endpoint URL in your .env file?
SOLVED! thanks for help. I was wrongly indicating the URL in the main file. Thanks again.
You are welcome.