summaryrefslogtreecommitdiffstats
path: root/webchat/hello_web.js
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-11-06 15:35:20 +0100
committerlassulus <lassulus@googlemail.com>2013-11-06 15:35:20 +0100
commit54934a67b50d9e5f7b3050bb935b1a2a6997e578 (patch)
treec88ac7a6d0c02b46287250b8bb0faefea4877acd /webchat/hello_web.js
parentb5603234dd333575d2522513d5f9a29d9c5bb848 (diff)
webchat: move stuff to local_config
Diffstat (limited to 'webchat/hello_web.js')
-rw-r--r--webchat/hello_web.js6
1 files changed, 3 insertions, 3 deletions
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()