I am trying to set up the ionic proxy for live reload. It however fails for an unclear reason:
Request URL:
/php/getData.php
ionic.config.json
{
"name": "MyApp",
"app_id": "",
"type": "ionic-angular",
"integrations": {
"cordova": {}
},
"proxies": [
{
"path": "/php",
"proxyUrl": "https://mydomain/php"
}
]
}
Connect to iOS Simulator with debugger, if fails with:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) http://192.168.0.20:8100/php/getData.php
Why does the system translate it to the local ip instead of the domain name? Is there a way to troubleshoot this or debug?
Thank you in advance!