proxy (for dev): use server default port 5080

This commit is contained in:
phil 2024-12-22 02:44:04 +01:00
parent 1f16faf060
commit f7629e36e0

View file

@ -1,41 +1,41 @@
[ [
{ {
"context": [ "context": [
"/static", "/static",
"/gj", "/gj",
"/openapi.json", "/openapi.json",
"/docs", "/docs",
"/api" "/api"
], ],
"target": "http://127.0.0.1:5000", "target": "http://127.0.0.1:5080",
"secure": false, "secure": false,
"ws": true "ws": true
}, },
{ {
"context": [ "context": [
"/sched", "/sched",
"/_sched" "/_sched"
], ],
"target": "http://127.0.0.1:8000", "target": "http://127.0.0.1:8000",
"secure": false, "secure": false,
"ws": true "ws": true
}, },
{ {
"context": [ "context": [
"/static/tiles" "/static/tiles"
], ],
"target": "/home/phil/gisaf_misc/map/tiles", "target": "/home/phil/gisaf_misc/map/tiles",
"secure": false, "secure": false,
"changeOrigin": true, "changeOrigin": true,
"pathRewrite": { "pathRewrite": {
"^/static/tiles" : "" "^/static/tiles": ""
}
},
{
"context": [
"/terrain"
],
"target": "http://127.0.0.1:8899",
"secure": false
} }
] },
{
"context": [
"/terrain"
],
"target": "http://127.0.0.1:8899",
"secure": false
}
]