From 60ea45b092aeec3564f7bcc9acf7838a9e84ef7d Mon Sep 17 00:00:00 2001 From: Wicklow Date: Wed, 8 Feb 2023 11:30:27 +0100 Subject: [PATCH] Fix Angular proxy with Node 18 --- client/proxy.config.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/client/proxy.config.json b/client/proxy.config.json index 0681066be..3586efdf3 100644 --- a/client/proxy.config.json +++ b/client/proxy.config.json @@ -1,44 +1,44 @@ { "/api": { - "target": "http://localhost:9000", + "target": "http://127.0.0.1:9000", "secure": false }, "/plugins": { - "target": "http://localhost:9000", + "target": "http://127.0.0.1:9000", "secure": false }, "/themes": { - "target": "http://localhost:9000", + "target": "http://127.0.0.1:9000", "secure": false }, "/static": { - "target": "http://localhost:9000", + "target": "http://127.0.0.1:9000", "secure": false }, "/lazy-static": { - "target": "http://localhost:9000", + "target": "http://127.0.0.1:9000", "secure": false }, "/socket.io": { - "target": "ws://localhost:9000", + "target": "ws://127.0.0.1:9000", "secure": false, "ws": true }, "/client/assets": { - "target": "http://localhost:9000", + "target": "http://127.0.0.1:9000", "secure": false }, "/client/locales": { - "target": "http://localhost:9000", + "target": "http://127.0.0.1:9000", "secure": false }, "/!(client)**": { - "target": "http://localhost:3000/client/index.html", + "target": "http://127.0.0.1:3000/client/index.html", "secure": false, "logLevel": "debug" }, "/!(client)**/**": { - "target": "http://localhost:3000/client/index.html", + "target": "http://127.0.0.1:3000/client/index.html", "secure": false, "logLevel": "debug" }