mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 12:18:02 +03:00
Use relative path to websocket
This commit is contained in:
parent
d0ec846b30
commit
216c15547d
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ define(
|
|||
"MessageList"
|
||||
],
|
||||
function(MessageList) {
|
||||
var ws = new WebSocket("ws://localhost:8080/entry");
|
||||
var ws = new WebSocket("ws://" + location.host + "/entry");
|
||||
var list = new MessageList(ws);
|
||||
ko.applyBindings(list);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue