update proxy
This commit is contained in:
parent
f7470348ff
commit
e4035b1d6e
@ -18,7 +18,7 @@ const ruleNodeUiforwardPort = 8080;
|
|||||||
|
|
||||||
const PROXY_CONFIG = {
|
const PROXY_CONFIG = {
|
||||||
"/api": {
|
"/api": {
|
||||||
"target": "http://64.225.65.220:8080",
|
"target": "http://localhost:8080",
|
||||||
"secure": false,
|
"secure": false,
|
||||||
},
|
},
|
||||||
"/static/rulenode": {
|
"/static/rulenode": {
|
||||||
@ -26,7 +26,7 @@ const PROXY_CONFIG = {
|
|||||||
"secure": false,
|
"secure": false,
|
||||||
},
|
},
|
||||||
"/api/ws": {
|
"/api/ws": {
|
||||||
"target": "ws://64.225.65.220:8080",
|
"target": "ws://localhost:8080",
|
||||||
"ws": true,
|
"ws": true,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@ -62,7 +62,8 @@ export class Polyline {
|
|||||||
|
|
||||||
updatePolyline(settings, data, dataSources) {
|
updatePolyline(settings, data, dataSources) {
|
||||||
this.leafletPoly.setStyle(this.getPolyStyle(settings));
|
this.leafletPoly.setStyle(this.getPolyStyle(settings));
|
||||||
this.setPolylineLatLngs(data);
|
// this.setPolylineLatLngs(data);
|
||||||
|
if(this.polylineDecorator)
|
||||||
this.polylineDecorator.setPaths(this.leafletPoly);
|
this.polylineDecorator.setPaths(this.leafletPoly);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user