Fix ng serve error message: refector proxy.conf.json
This commit is contained in:
parent
31b532e464
commit
94c02d17f5
1 changed files with 39 additions and 45 deletions
|
@ -1,47 +1,41 @@
|
||||||
{
|
[
|
||||||
"/static": {
|
{
|
||||||
"target": "http://127.0.0.1:5000",
|
"context": [
|
||||||
"secure": false
|
"/static",
|
||||||
|
"/gj",
|
||||||
|
"/openapi.json",
|
||||||
|
"/docs",
|
||||||
|
"/api"
|
||||||
|
],
|
||||||
|
"target": "http://127.0.0.1:5000",
|
||||||
|
"secure": false,
|
||||||
|
"ws": true
|
||||||
},
|
},
|
||||||
"/gj": {
|
{
|
||||||
"target": "http://127.0.0.1:5000",
|
"context": [
|
||||||
"secure": false,
|
"/sched",
|
||||||
"ws": true
|
"/_sched"
|
||||||
},
|
],
|
||||||
"/sched": {
|
"target": "http://127.0.0.1:8000",
|
||||||
"target": "http://127.0.0.1:8000",
|
"secure": false,
|
||||||
"secure": false
|
"ws": true
|
||||||
},
|
},
|
||||||
"/_sched": {
|
{
|
||||||
"target": "http://127.0.0.1:8000",
|
"context": [
|
||||||
"secure": false,
|
"/static/tiles"
|
||||||
"ws": true
|
],
|
||||||
},
|
"target": "/home/phil/gisaf_misc/map/tiles",
|
||||||
"/openapi.json": {
|
"secure": false,
|
||||||
"target": "http://127.0.0.1:5000",
|
"changeOrigin": true,
|
||||||
"secure": false,
|
"pathRewrite": {
|
||||||
"ws": true
|
"^/static/tiles" : ""
|
||||||
},
|
}
|
||||||
"/docs": {
|
},
|
||||||
"target": "http://127.0.0.1:5000",
|
{
|
||||||
"secure": false,
|
"context": [
|
||||||
"ws": true
|
"/terrain"
|
||||||
},
|
],
|
||||||
"/api": {
|
"target": "http://127.0.0.1:8899",
|
||||||
"target": "http://127.0.0.1:5000",
|
"secure": false
|
||||||
"secure": false,
|
|
||||||
"ws": true
|
|
||||||
},
|
|
||||||
"/static/tiles": {
|
|
||||||
"target": "/home/phil/gisaf_misc/map/tiles",
|
|
||||||
"secure": false,
|
|
||||||
"changeOrigin": true,
|
|
||||||
"pathRewrite": {
|
|
||||||
"^/static/tiles" : ""
|
|
||||||
}
|
}
|
||||||
},
|
]
|
||||||
"/terrain": {
|
|
||||||
"target": "http://127.0.0.1:8899",
|
|
||||||
"secure": false
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue