1

I am new to Ionic 2 and try to upload project to ionic cloud behind a proxy server. I followed the setup steps, https://docs.ionic.io/setup.html, but there is a connection error as below, connection error

I supposed it was caused by proxy server. I just wonder if anyone know to solve the issue.

Thanks, Sean

Sean Sun
  • 496
  • 1
  • 4
  • 14

1 Answers1

0

You need to set proxies in ionic.config.json.

proxies: [{
"path": "/api/",
"proxyUrl": "https://test.com/"
}],
Kvk
  • 522
  • 5
  • 15