aboutsummaryrefslogtreecommitdiffstats
path: root/test/monitoring
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-12 00:56:17 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-12 00:56:17 +0100
commitb6a483aab99a4bf32d7c04b159de7fcb96a54416 (patch)
treefc2833dbade245359258848168f1826c010ccdc0 /test/monitoring
parent760f61ba4523d5c3461a0c30bbda78c84ab80103 (diff)
monitoring: Set default token to HELLO
Change-Id: I3c158598da70089b9646233c632f14f62f1baa15 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'test/monitoring')
-rw-r--r--test/monitoring/monitor.html2
-rw-r--r--test/monitoring/monitor.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/monitoring/monitor.html b/test/monitoring/monitor.html
index 2c07c1ba..5a418879 100644
--- a/test/monitoring/monitor.html
+++ b/test/monitoring/monitor.html
@@ -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">
diff --git a/test/monitoring/monitor.js b/test/monitoring/monitor.js
index 5b9dc0ea..3c64ab33 100644
--- a/test/monitoring/monitor.js
+++ b/test/monitoring/monitor.js
@@ -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;