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 eb96a2a95bcd1c1187a92290f5e164dc33f7723b
parent 5dfdf92fe32cb4855c050e74d2d89866d8aacb2a
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 26 Mar 2016 12:01:46 +0100

Update Port

Diffstat:
Mweb/server.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/server.js b/web/server.js @@ -30,7 +30,7 @@ var server = module.exports = {}; app.use('/css', express.static(__dirname + '/theme/css')); app.use('/js', express.static(__dirname + '/theme/js')); app.use('/fonts', express.static(__dirname + '/theme/fonts')); - http.listen(3001, "0.0.0.0", function(){ + http..listen((process.env.PORT || 5000), "0.0.0.0", function(){ console.log('listening on *:3001'); }); },