Showing
2 changed files
with
4 additions
and
3 deletions
@@ -18,7 +18,7 @@ const ruleNodeUiforwardPort = 8080; | @@ -18,7 +18,7 @@ const ruleNodeUiforwardPort = 8080; | ||
18 | 18 | ||
19 | const PROXY_CONFIG = { | 19 | const PROXY_CONFIG = { |
20 | "/api": { | 20 | "/api": { |
21 | - "target": "http://64.225.65.220:8080", | 21 | + "target": "http://localhost:8080", |
22 | "secure": false, | 22 | "secure": false, |
23 | }, | 23 | }, |
24 | "/static/rulenode": { | 24 | "/static/rulenode": { |
@@ -26,7 +26,7 @@ const PROXY_CONFIG = { | @@ -26,7 +26,7 @@ const PROXY_CONFIG = { | ||
26 | "secure": false, | 26 | "secure": false, |
27 | }, | 27 | }, |
28 | "/api/ws": { | 28 | "/api/ws": { |
29 | - "target": "ws://64.225.65.220:8080", | 29 | + "target": "ws://localhost:8080", |
30 | "ws": true, | 30 | "ws": true, |
31 | }, | 31 | }, |
32 | }; | 32 | }; |
@@ -62,7 +62,8 @@ export class Polyline { | @@ -62,7 +62,8 @@ export class Polyline { | ||
62 | 62 | ||
63 | updatePolyline(settings, data, dataSources) { | 63 | updatePolyline(settings, data, dataSources) { |
64 | this.leafletPoly.setStyle(this.getPolyStyle(settings)); | 64 | this.leafletPoly.setStyle(this.getPolyStyle(settings)); |
65 | - this.setPolylineLatLngs(data); | 65 | + // this.setPolylineLatLngs(data); |
66 | + if(this.polylineDecorator) | ||
66 | this.polylineDecorator.setPaths(this.leafletPoly); | 67 | this.polylineDecorator.setPaths(this.leafletPoly); |
67 | } | 68 | } |
68 | 69 |