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 94b0ff9b127a2b6da11af240359341504b2e0988
parent 664132a0f3b6a1f6645d7aa031ca3f32e8277ca4
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 26 Mar 2016 12:11:04 +0100

[FIX]Websocket fixed

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

diff --git a/web/theme/index.html b/web/theme/index.html @@ -168,8 +168,7 @@ e.preventDefault(); $("#wrapper").toggleClass("toggled"); }); - console.warn(location.protocol+location.hostname); - var ws = location.protocol+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');