comparison configuration.js @ 45:8b20f2efb939

Add an option to choose the host and port of the connection.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 08 Mar 2011 00:25:17 +0100
parents 023f767662d3
children 22b06eade9a7
comparison
equal deleted inserted replaced
44:3e0ca96d2dce 45:8b20f2efb939
21 21
22 var config = exports; 22 var config = exports;
23 23
24 config.jid = 'pubsub.example.org'; 24 config.jid = 'pubsub.example.org';
25 config.password = 'hellohello'; 25 config.password = 'hellohello';
26 config.host = 'localhost';
27 config.port = 5347;
26 config.superOwner = ['you@example.com']; 28 config.superOwner = ['you@example.com'];
27 config.version = '0.1'; 29 config.version = '0.1';
28 config.os = 'GNU/Linux'; 30 config.os = 'GNU/Linux';
29 config.allowCreateNode = [/@example\.com$/]; // value is an array of RegExp JIDs. If only super-owner should be able to create nodes, use []. 31 config.allowCreateNode = [/@example\.com$/]; // value is an array of RegExp JIDs. If only super-owner should be able to create nodes, use [].
30 config.backend = 'directory'; // Put backends in “backends” directory. 32 config.backend = 'directory'; // Put backends in “backends” directory.