forked from vxmppb/vxmppb
Adding wiki link for installation methods
This commit is contained in:
parent
6bcd1c1e38
commit
2056c5a7f2
4
index.js
4
index.js
|
@ -10,7 +10,6 @@ const xmpp = require('simple-xmpp');
|
||||||
try {
|
try {
|
||||||
fs.readFileSync('./config.ini', 'utf-8');
|
fs.readFileSync('./config.ini', 'utf-8');
|
||||||
|
|
||||||
|
|
||||||
const config = ini.parse(fs.readFileSync('./config.ini', 'utf-8'));
|
const config = ini.parse(fs.readFileSync('./config.ini', 'utf-8'));
|
||||||
const api_pass = config.api_pass;
|
const api_pass = config.api_pass;
|
||||||
const api_url = config.api_url;
|
const api_url = config.api_url;
|
||||||
|
@ -272,4 +271,5 @@ xmpp.connect({
|
||||||
console.log(xmpp.getRoster());
|
console.log(xmpp.getRoster());
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
console.log("Please create a config.ini");
|
console.log("Please create a config.ini");
|
||||||
}
|
console.log("See https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:install:start");
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user