Fix Angular proxy with Node 18

This commit is contained in:
Wicklow 2023-02-08 11:30:27 +01:00 committed by Chocobozzz
parent afb371d940
commit 60ea45b092
1 changed files with 10 additions and 10 deletions

View File

@ -1,44 +1,44 @@
{ {
"/api": { "/api": {
"target": "http://localhost:9000", "target": "http://127.0.0.1:9000",
"secure": false "secure": false
}, },
"/plugins": { "/plugins": {
"target": "http://localhost:9000", "target": "http://127.0.0.1:9000",
"secure": false "secure": false
}, },
"/themes": { "/themes": {
"target": "http://localhost:9000", "target": "http://127.0.0.1:9000",
"secure": false "secure": false
}, },
"/static": { "/static": {
"target": "http://localhost:9000", "target": "http://127.0.0.1:9000",
"secure": false "secure": false
}, },
"/lazy-static": { "/lazy-static": {
"target": "http://localhost:9000", "target": "http://127.0.0.1:9000",
"secure": false "secure": false
}, },
"/socket.io": { "/socket.io": {
"target": "ws://localhost:9000", "target": "ws://127.0.0.1:9000",
"secure": false, "secure": false,
"ws": true "ws": true
}, },
"/client/assets": { "/client/assets": {
"target": "http://localhost:9000", "target": "http://127.0.0.1:9000",
"secure": false "secure": false
}, },
"/client/locales": { "/client/locales": {
"target": "http://localhost:9000", "target": "http://127.0.0.1:9000",
"secure": false "secure": false
}, },
"/!(client)**": { "/!(client)**": {
"target": "http://localhost:3000/client/index.html", "target": "http://127.0.0.1:3000/client/index.html",
"secure": false, "secure": false,
"logLevel": "debug" "logLevel": "debug"
}, },
"/!(client)**/**": { "/!(client)**/**": {
"target": "http://localhost:3000/client/index.html", "target": "http://127.0.0.1:3000/client/index.html",
"secure": false, "secure": false,
"logLevel": "debug" "logLevel": "debug"
} }