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,38 +1,29 @@
|
|||
{
|
||||
"/static": {
|
||||
"target": "http://127.0.0.1:5000",
|
||||
"secure": false
|
||||
},
|
||||
"/gj": {
|
||||
[
|
||||
{
|
||||
"context": [
|
||||
"/static",
|
||||
"/gj",
|
||||
"/openapi.json",
|
||||
"/docs",
|
||||
"/api"
|
||||
],
|
||||
"target": "http://127.0.0.1:5000",
|
||||
"secure": false,
|
||||
"ws": true
|
||||
},
|
||||
"/sched": {
|
||||
"target": "http://127.0.0.1:8000",
|
||||
"secure": false
|
||||
},
|
||||
"/_sched": {
|
||||
{
|
||||
"context": [
|
||||
"/sched",
|
||||
"/_sched"
|
||||
],
|
||||
"target": "http://127.0.0.1:8000",
|
||||
"secure": false,
|
||||
"ws": true
|
||||
},
|
||||
"/openapi.json": {
|
||||
"target": "http://127.0.0.1:5000",
|
||||
"secure": false,
|
||||
"ws": true
|
||||
},
|
||||
"/docs": {
|
||||
"target": "http://127.0.0.1:5000",
|
||||
"secure": false,
|
||||
"ws": true
|
||||
},
|
||||
"/api": {
|
||||
"target": "http://127.0.0.1:5000",
|
||||
"secure": false,
|
||||
"ws": true
|
||||
},
|
||||
"/static/tiles": {
|
||||
{
|
||||
"context": [
|
||||
"/static/tiles"
|
||||
],
|
||||
"target": "/home/phil/gisaf_misc/map/tiles",
|
||||
"secure": false,
|
||||
"changeOrigin": true,
|
||||
|
@ -40,8 +31,11 @@
|
|||
"^/static/tiles" : ""
|
||||
}
|
||||
},
|
||||
"/terrain": {
|
||||
{
|
||||
"context": [
|
||||
"/terrain"
|
||||
],
|
||||
"target": "http://127.0.0.1:8899",
|
||||
"secure": false
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue