nbot

A clone of the eBot by @deStrO fully based on node.js with build in Web Page - WIP
git clone git://archive.git.mtrnord.blog/MTRNord/nbot.git
Log | Files | Refs | README | LICENSE

commit 58c0e27bcc25e438a0bd37d880230ec8a8a71be1
parent 82d05c6fb3b52a9651cf53a9f43dc97edd969ac5
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 26 Mar 2016 12:05:43 +0100

Fix websocket

Diffstat:
Mweb/theme/index.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/theme/index.html b/web/theme/index.html @@ -168,7 +168,7 @@ e.preventDefault(); $("#wrapper").toggleClass("toggled"); }); - var ws = 'ws://'+location.hostname+(location.port ? ':'+location.port: ''); + var ws = location.protocol+location.hostname+(location.port ? ':'+location.port: ''); var socket = io(ws); $(document).off('click', '#restart').on('click', '#restart', function (e) { console.log('restart fired');