2 years ago
I have a backend endpoint like this:
loge-manager-be-production.up.railway.app
In my code I set the url to this to post a login request:
https//:loge-manager-be-production.up.railway.app/api/auth/login
But when I check the URL in chrome developer console the frontend server and backend server URLs concatenated like this:
https://logemanager.up.railway.app/https//:loge-manager-be-production.up.railway.app/api/auth/login
Which ends up giving me a 404 Not found respons.
Does anyone know what is happening? Have I done something wrong or is it the new proxy at railway that causes my problems?
1 Replies
2 years ago
I have resolved the issue. It was the cors configuration in my backen that was missing.
Status changed to Solved brody • over 1 year ago