Skip to content

Commit 8b5b87c

Browse files
committed
working sse
1 parent deb5a47 commit 8b5b87c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

html/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11

22
var sseHost = window.location.protocol + "//" + window.location.host;
3+
if(window.location.pathname !== "/") {
4+
sseHost += "/" + window.location.pathname;
5+
}
36

47
var player = null;
58
var progLast = null;

0 commit comments

Comments
 (0)