_redirects not working Vue 3 SPA

PLEASE help us help you by writing a good post!

  • we need to know your netlify site name. Example: gifted-antelope-58b104.netlify.app

https://nerd-bot.netlify.app/

  • DNS issues? Tell us the custom domain, tell us the error message! We can’t help if we don’t know your domain.
  • Build problems? Link or paste the FULL build log & build settings screenshot

The better the post - the faster the answer.

Hello I am trying to redirect requests out of my netlify app to an external API. The API’s address is 193.57.8.15:4005/api/{controller}/{endPoint}

my redirect rule is as follows:

in _redirects file, in public folder →

/api/* http://193.57.8.15:4005/api/ 200

My problem is it appears the traffic is not being appropriately redirected. See screenshot for axios error

as you can see the request address does not appear to be correct and I am struggling to figure out what I have may have done wrong. Any help would be greatly appreciated!!!

is nobody going to look at this??

You are using a wildcard *, so likely you need to use a :splat as well as seen in this documentation.