Redirect url on local host

#1

I am building a react native app. I am using expo and on to develop de application. On my host machine I have an API on the url api.myapp.test.

When I do a fetch to that url from my react app. I get an error:

[23:07:28] Network request failed - node_modules/whatwg-fetch/fetch.js:439:29 in onerror - node_modules/event-target-shim/lib/event-target.js:172:43 in dispatchEvent - … 9 more stack frames from framework internals

I have the feeling that my app or local host does not know where to route this url to.

Do you have an idea?

closed #2

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