diff options
Diffstat (limited to 'htdocs/alsa-core.html')
-rw-r--r-- | htdocs/alsa-core.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/htdocs/alsa-core.html b/htdocs/alsa-core.html index e408a01..0969b6f 100644 --- a/htdocs/alsa-core.html +++ b/htdocs/alsa-core.html @@ -15,7 +15,7 @@ document.getElementById("connected").innerHTML = "Connected Closed"; } function init() { - ws = new AfbWsItf("api", onopen, onabort, new AfbCtxItf("hello")); + ws = new AfbWsItf("api", onopen, onabort, new AfbCtxItf("mysecret")); } function replyok(obj) { document.getElementById("output").innerHTML = "OK: "+JSON.stringify(obj); @@ -38,6 +38,5 @@ <li><a href="api/alsacore/getctl?devid=hw:0&numid=1&quiet=0">return control numid=1 for hw:0</a> <li><button id="connected" onclick="subscribe('hw:0')">Click to Connected</button></li> <div id="main" style="visibility:hidden"> - <p>Event Output</p> Server says... <div id="output"></div> </div> |