diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2017-07-25 17:33:52 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2017-07-25 17:33:52 +0200 |
commit | a3cecd20f812c3fc71141a487443568c861c160a (patch) | |
tree | f7b1c23fd5af0385985ae3a2e3abf558ec5bc0f6 /htdocs/AFB-websock.js | |
parent | d00d127abd72f632b36db1619f6282a8e5c61798 (diff) |
Update HTML test page to new template. Added Config file selection from UI.
Diffstat (limited to 'htdocs/AFB-websock.js')
-rw-r--r-- | htdocs/AFB-websock.js | 7 |
1 files changed, 5 insertions, 2 deletions
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; /*********************************************/ /**** ****/ |