I’m having some trouble getting a redirect to work, so I have a SPA which connects to an api on a different domain, I would like to redirect requests from /api/ to the api domain
The SPA is on:
The API is on:
I’ve read the docs about redirects and added the following to my _redirects file:
/* /index.html 200
/api/* https://api.modeck.net/:splat 200
On my deploy page it is showing that these redirect rules have been processed, but I am still getting a 404 on the requests and they still appear to be directing to /api/ (ie. https://app.modeck.io/api/)
It seems like it’s not implementing the redirect? Is there something I’m missing here?
Any assistance would be much appreciated!