[AngularJS] Angular 2/4 overwrites headers in a productive version?

2017-07-06 Thread JWeb Dev
Hello, tell me please. Nowhere I can not find the information. The problem is that the angular 4, when I access to the server overwrites my heders. In the dev environment I configured proxy, then the heders reach to the server. Make a productive version with ng build --prod --env = prod -a

[AngularJS] Angular 2/4 overwrites headers in a productive version?

2017-07-06 Thread JWeb Dev
Hello, tell me please. Nowhere I can not find the information. The problem is that the angular 4, when I access to the server overwrites my heders. In the dev environment I configured proxy, then the heders reach to the server. Make a productive version with ng build --prod --env = prod