Angular-CLI proxy to backend doesn’t work
Could you try with this one: { “/api”: { “target”: “http://url.com”, “secure”: false, “pathRewrite”: {“^/api” : “”} } } It works for me, ** NG Live Development Server is running on http://localhost:4200. ** 10% building modules 3/3 modules 0 active[HPM] Proxy created: /api -> http://ec2-xx-xx-xx-xx.ap-south-1.compute.amazonaws.com [HPM] Proxy rewrite rule created: “^/api” ~> “”