how to add proxy file in Angular 7


Package.json

"start": " ng-server. ---proxy-config proxy-config.json"(proxy file name)

Proxy.config.json
{
"/api:"/{
"traget": "url",
"secure": false
}
}

Comments

Popular posts from this blog

String Program in C#

CSV using XmlNode

Extension Method & Partial Class