mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 11:32:47 +00:00
Fix url
This commit is contained in:
parent
58d1b3698e
commit
f6822992ef
@ -29,7 +29,7 @@ export class OpenLPService {
|
|||||||
constructor(private http: HttpClient) {
|
constructor(private http: HttpClient) {
|
||||||
this.stateChanged$ = new EventEmitter<State>();
|
this.stateChanged$ = new EventEmitter<State>();
|
||||||
let state:State = null;
|
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) => {
|
ws.onmessage = (event) => {
|
||||||
let reader = new FileReader()
|
let reader = new FileReader()
|
||||||
reader.onload = () => {
|
reader.onload = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user