In my PWA everything is working except POST HTTP calls. I have a login on my first screen. It says Network Error
. But it works fine Desktop/Laptop web browser. Only found the problem on mobile app [Android]
Note
You most likely try to connect to localhost
. When deploying to a different device localhost
is the actual device you are deploying and most likely you are not running a web server there.
You need to find your local machine's ip and use that as base url for HTTP calls.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.