Home > Mobile >  API not working after deploying on netlify. I'm using a proxy server
API not working after deploying on netlify. I'm using a proxy server

Time:08-07

I have added the _redirects file in the public directory and I think the redirect is working as I'm getting a 200 status code in the network tab but the data is not showing up on the browser.

enter image description here

CodePudding user response:

Make sure you have not pushed your .env file to GitHub (in case you have it) because this might be the case of failure.

OR

Make sure you write it correctly Make a file inside the public directory named as _redirects. Inside it write a line of code

  • Related