It's perfectly working for Http, but not for WebSocket. I did not find the documentation about this. How can I do proxy for WS?
ng serve --proxy-config proxy.conf.json
proxy.conf.json:
{
"/": {
"target": "http://localhost:8080",
"secure": false
}
}