socket fixed

This commit is contained in:
raja.blaze 2019-08-20 16:48:58 +05:30
parent a444afc0b5
commit a4b905875a

View File

@ -13,7 +13,8 @@ import * as io from "socket.io-client";
providedIn: "root" providedIn: "root"
}) })
export class ChartService { export class ChartService {
private server = environment.domain; //private server = environment.domain;
private server = 'http://localhost:4001';
private socket; private socket;
constructor(public http: HttpClient) { constructor(public http: HttpClient) {