diff --git a/ui-ngx/proxy.conf.js b/ui-ngx/proxy.conf.js index 36b405ff32..243f260870 100644 --- a/ui-ngx/proxy.conf.js +++ b/ui-ngx/proxy.conf.js @@ -18,7 +18,7 @@ const ruleNodeUiforwardPort = 8080; const PROXY_CONFIG = { "/api": { - "target": "http://64.225.65.220:8080", + "target": "http://localhost:8080", "secure": false, }, "/static/rulenode": { @@ -26,7 +26,7 @@ const PROXY_CONFIG = { "secure": false, }, "/api/ws": { - "target": "ws://64.225.65.220:8080", + "target": "ws://localhost:8080", "ws": true, }, }; diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/maps/polyline.ts b/ui-ngx/src/app/modules/home/components/widget/lib/maps/polyline.ts index e65e080eaa..76276cacaa 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/maps/polyline.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/maps/polyline.ts @@ -62,7 +62,8 @@ export class Polyline { updatePolyline(settings, data, dataSources) { this.leafletPoly.setStyle(this.getPolyStyle(settings)); - this.setPolylineLatLngs(data); + // this.setPolylineLatLngs(data); + if(this.polylineDecorator) this.polylineDecorator.setPaths(this.leafletPoly); }