monitoring: Set default token to HELLO
authorJosé Bollo <jose.bollo@iot.bzh>
Sat, 11 Nov 2017 23:56:17 +0000 (00:56 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Sat, 11 Nov 2017 23:56:17 +0000 (00:56 +0100)
Change-Id: I3c158598da70089b9646233c632f14f62f1baa15
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
test/monitoring/monitor.html
test/monitoring/monitor.js

index 2c07c1b..5a41887 100644 (file)
@@ -57,7 +57,7 @@
       <div id="params" class="clearfix">
         <div>host: <input type="text" id="param-host" size="50" value="localhost"></input></div>
         <div>port: <input type="text" id="param-port" size="10" value="1234"></input></div>
-        <div>token: <input type="text" id="param-token" size="33" value="hello"></input></div>
+        <div>token: <input type="text" id="param-token" size="33" value="HELLO"></input></div>
       </div>
       <div class="-flex-fill -box-out">
         <div id="trace-events" class="-box-in">
index 5b9dc0e..3c64ab3 100644 (file)
@@ -131,7 +131,7 @@ function init() {
        at("param-host").value = document.location.hostname;
        at("param-port").value = document.location.port;
        var args = new URLSearchParams(document.location.search.substring(1));
-       at("param-token").value = args.get("x-afb-token") || args.get("token") || "hello";
+       at("param-token").value = args.get("x-afb-token") || args.get("token") || "HELLO";
 
        document.onbeforeunload = on_disconnect;