title: Ionic 2 proxy not working anymore
body: <p>I have a Ionic 2 app with a proxy I user for development when i use <code>ionic serve</code>. All was working great with this in my config file :</p>
  
  <pre><code>"proxies": [
      {
        "path": "/apiv2/",
        "proxyUrl": "https://myapilink.com/apiv2/"
      }
  ]
  </code></pre>
  
  <p>And in my Ionic provider : </p>
  
  <pre><code>  constructor(public http: Http) {
      this.API_URL = "/apiv2";
      this.data = {};
    }
  
    call(action, entity, params){
  
        return new Promise(resolve =&gt; {
            let link = this.API_URL;
            let data = JSON.stringify({action: action, entity: entity, params: params});
  
            this.http.post(link, data)
                .map(res =&gt; res.json())
                .subscribe(data =&gt; {
                    this.data = data;
                    resolve(this.data);
                }, error =&gt; {
                    console.log(error);
                });
        });
    }
  </code></pre>
  
  <p>When I run my Ionic project with <code>ionic serve</code>, I can see that the proxies are added : <br />
  <code>[09:54:50]  Proxy added:/apiv2/ =&gt; https://myapilink.com/apiv2/</code></p>
  
  <p>But when I run my app, when an API call comes, in my network log I only have 500 errors : </p>
  
  <pre><code>POST http://localhost:8100/apiv2/ 500 (Internal Server Error)
  </code></pre>
  
  <p>But while Ionic server is running, if I go on chrome and enter this URL : <code>http://localhost:8100/apiv2/</code>, I have the result of my API, with my JSON return, so the redirection is made. I don't understand where it's coming from</p>
  
  <p>Thank in advance for any help</p>