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