X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=htdocs%2FAFB-websock.js;h=99ab3b8cbeae67a2804177c640c43b5efe110490;hb=04888c6e029eeef7d25c7802cd9020eda9e44aac;hp=08a7ffe0c697edb75f98438f3a4c0765fdc722f5;hpb=1fe55667142158af865372a8b9916581662286fe;p=apps%2Fagl-service-unicens.git diff --git a/htdocs/AFB-websock.js b/htdocs/AFB-websock.js index 08a7ffe..99ab3b8 100644 --- a/htdocs/AFB-websock.js +++ b/htdocs/AFB-websock.js @@ -1,7 +1,10 @@ +var urlws; +var urlhttp; + 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; /*********************************************/ /**** ****/