Code Review
/
apps
/
agl-service-unicens.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
agl-service-unicens: fix streaming alignment issue
[apps/agl-service-unicens.git]
/
htdocs
/
AFB-websock.js
diff --git
a/htdocs/AFB-websock.js
b/htdocs/AFB-websock.js
index
08a7ffe
..
99ab3b8
100644
(file)
--- a/
htdocs/AFB-websock.js
+++ b/
htdocs/AFB-websock.js
@@
-1,7
+1,10
@@
+var urlws;
+var urlhttp;
+
AFB = function(base, initialtoken){
AFB = function(base, initialtoken){
-
var
urlws = "ws://"+window.location.host+"/"+base;
-
var
urlhttp = "http://"+window.location.host+"/"+base;
+urlws = "ws://"+window.location.host+"/"+base;
+urlhttp = "http://"+window.location.host+"/"+base;
/*********************************************/
/**** ****/
/*********************************************/
/**** ****/