Env backend api cannot being hit because vercel url

When I try to call my backend using a vercel env, instead of just calling the url it appends the vercel app url to the env for no reason causing it to fail.

For example: REACT_APP_API_UR = “https://www.example.com” and I create a post request to my api the url it post to is: https://prod-fe.vercel.app/example/api/auth/login

Hey @william280803. Can you share a minimal reproducible example so I can get a better look at what’ss going wrong?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.