How to make api calls in deployed site

how to get the api calls working on the deployed site?

I put the build folder in the root. serving the react from express it works as expected in development. yet the deployed app doesnt work:

Screenshot 2022-03-26 150051

I guess its because you are blocking all the requests except from the localhost:3000

1 Like