From 54934a67b50d9e5f7b3050bb935b1a2a6997e578 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 6 Nov 2013 15:35:20 +0100 Subject: webchat: move stuff to local_config --- webchat/hello_web.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'webchat/hello_web.js') diff --git a/webchat/hello_web.js b/webchat/hello_web.js index 4b7595d7..155a34f3 100644 --- a/webchat/hello_web.js +++ b/webchat/hello_web.js @@ -19,7 +19,7 @@ var irc_client = new irc.Client('irc.freenode.net', 'kweb', { secure: true, userName: 'kweb', realName: 'kweb', - password: fs.readFileSync(__dirname+'/irc.key').toString(), + password: fs.readFileSync(__dirname+'/local_config/irc.key').toString(), debug: true, showErrors: true, port: 6697, @@ -73,8 +73,8 @@ conn.on('close', function() { }); var options = { - key: fs.readFileSync(__dirname+'/server_npw.key'), - cert: fs.readFileSync(__dirname+'/server.crt'), + key: fs.readFileSync(__dirname+'/local_config/server_npw.key'), + cert: fs.readFileSync(__dirname+'/local_config/server.crt'), }; var app = connect() -- cgit v1.2.3