diff --git a/src/app/openlp.service.ts b/src/app/openlp.service.ts index de8b276..f793f44 100644 --- a/src/app/openlp.service.ts +++ b/src/app/openlp.service.ts @@ -29,7 +29,7 @@ export class OpenLPService { constructor(private http: HttpClient) { this.stateChanged$ = new EventEmitter(); let state:State = null; - let ws:WebSocket = new WebSocket('ws://localhost:4317/poll') + let ws:WebSocket = new WebSocket('ws://localhost:4317/state') ws.onmessage = (event) => { let reader = new FileReader() reader.onload = () => {