diff options
author | fulup <fulup.arfoll@iot.bzh> | 2017-07-23 01:23:37 +0200 |
---|---|---|
committer | fulup <fulup.arfoll@iot.bzh> | 2017-07-23 01:23:37 +0200 |
commit | a7a6ae4be87ee9178905ab784d84a4c0a8303f9b (patch) | |
tree | e5aa96fba9c7ed59f60dd1641fc30c2eeb512e50 /htdocs/AFB-websock.js | |
parent | 044828c43097362973c82088a7afee760eab06ec (diff) |
Added TLV->DBscale into HAL control
1st Working version of HAL ctl-get with TLV
Cleanup HTML5 test pages
WIP Only
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 e77ec89..ff9fa60 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; /*********************************************/ /**** ****/ |