From 2c434c348c72169931a57a3b798cbfa49f70695c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 25 Jul 2019 11:40:19 +0200 Subject: [PATCH] Fix angular proxy in dev mode --- client/proxy.config.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/client/proxy.config.json b/client/proxy.config.json index 7b7357f44..81a0fc4c1 100644 --- a/client/proxy.config.json +++ b/client/proxy.config.json @@ -20,8 +20,14 @@ "secure": false, "ws": true }, - "/": { - "target": "http://localhost:3000/client", - "secure": false + "/!(client)**": { + "target": "http://localhost:3000/client/index.html", + "secure": false, + "logLevel": "debug" + }, + "/!(client)**/**": { + "target": "http://localhost:3000/client/index.html", + "secure": false, + "logLevel": "debug" } }