From 1b619f63a9affba8d889e2159ae49651a9c96a89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 16 Oct 2012 12:09:01 +0200 Subject: [PATCH] Improving config of nodePush --- file/acp/be.bastelstu.wcf.chat.nodePush/config.js | 4 ++-- file/acp/be.bastelstu.wcf.chat.nodePush/lib/server.coffee | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/file/acp/be.bastelstu.wcf.chat.nodePush/config.js b/file/acp/be.bastelstu.wcf.chat.nodePush/config.js index cace8f2..b139533 100644 --- a/file/acp/be.bastelstu.wcf.chat.nodePush/config.js +++ b/file/acp/be.bastelstu.wcf.chat.nodePush/config.js @@ -1,3 +1,3 @@ -exports.config = { +module.exports = { port: 9001 -} \ No newline at end of file +} diff --git a/file/acp/be.bastelstu.wcf.chat.nodePush/lib/server.coffee b/file/acp/be.bastelstu.wcf.chat.nodePush/lib/server.coffee index 6dfdb43..d628c28 100644 --- a/file/acp/be.bastelstu.wcf.chat.nodePush/lib/server.coffee +++ b/file/acp/be.bastelstu.wcf.chat.nodePush/lib/server.coffee @@ -13,7 +13,7 @@ io = require 'socket.io' net = require 'net' fs = require 'fs' -config = require('../config.js').config +config = require('../config.js') log = (message) -> console.log '[be.bastelstu.wcf.chat.nodePush] '+message