Replies: 1 comment
-
Let's say you've got a server running on your machine at http://localhost:3000. This is fine when you are testing your Ionic application on your computer because you can just send your HTTP requests to: http://localhost:3000/photos/upload https://eliteionic.com/tutorials/accessing-localhost-from-mobile-device-ios-android/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm facing an issue in my production build, I'm trying to fetch the data using HTTP rest API but it throws an error, it's working on local and development environment but is not in a production build. For info, this application is for the local network and trying to connect the backend which is running on another PC in the same network.
Below is the error:
capacitor.config.ts
file:My packages:
It's been two days since this issue. Does anyone have any idea why that's happening?
Beta Was this translation helpful? Give feedback.
All reactions