I am utilizing capacitor to construct what is actually a PWA with service discovery to determine the server. The server delivers to the shopper a pair requisite gadgets to run, comparable to icons and different issues. The service discovery is working accurately as I can see the right ip within the logs. The app works as anticipated after I set the server url within the capacitor config json, however after I both take away the server parameter, or attempt to set a listing of acceptable hosts, the app not works. Within the first case, it’s as a result of any of the http:// are changed by capacitor://. Within the second case, I’m not certain the issue.
Is it attainable to make use of service discovery to set the situation of the net view? Or, how can I configure the config.json to permit the applying to make requests to an exterior server?
variations I’ve tried:
"server":{
"iosScheme": "http"
}```
"server":{
"hosts:"["192.168.*,
"10.168.*"]
I am new to app dev so apologize if this can be a dumb query.