Suppose my corporate proxy - >>http://proxy.comapny.com:8080 and Http url - >> http://15.232.2.216/api/get/data?elm=STATE (local network ip adderss) angular running on my ip - >> http://15.232.1.178:4200
http url ip address is changed depending on url input so not a solution to set proxy as ip address in proxy.config.json and run command ng serve --proxy-config proxy.config.js like
"*/api" : {
"target" : "http://15.232.2.216",
"secure" : false,
"changeOrigin": true
}
What is solution on above problem.