From 259f36ec0561927735e479388fe89020d5a37c44 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Thu, 3 Jul 2014 19:14:43 +0200 Subject: [PATCH] cleaned up --- config.js | 15 +++++----- index.html | 82 +++++++++++++++++++++++++++++------------------------- 2 files changed, 52 insertions(+), 45 deletions(-) diff --git a/config.js b/config.js index cc5b33f..b3d6771 100644 --- a/config.js +++ b/config.js @@ -1,8 +1,9 @@ -websocketserver = '127.0.0.1'; -websocketport = 9001; -topic = '#'; +host = '127.0.0.1'; // hostname or IP address +port = 9001; +topic = '#'; // topic to subscribe to useTLS = false; -// username = null; -// password = null; -username = "jjolie"; -password = "aa"; +username = null; +password = null; +// username = "jjolie"; +// password = "aa"; +cleansession = true; diff --git a/index.html b/index.html index 923b912..cf970cd 100644 --- a/index.html +++ b/index.html @@ -9,52 +9,61 @@ @@ -62,13 +71,10 @@

Mosquitto Websockets

- Subscribed to Status: -

Messages

+
Subscribed to + Status:
- +
- -