comparison configuration.js @ 52:296de54c1c4b

Rollback last commit error and fix typo error.
author Sonny Piers <sonny.piers@gmail.com>
date Mon, 21 Mar 2011 16:30:14 +0100
parents 22b06eade9a7
children 99bd1d1ac071
comparison
equal deleted inserted replaced
51:22b06eade9a7 52:296de54c1c4b
19 19
20 'use strict'; 20 'use strict';
21 21
22 var config = exports; 22 var config = exports;
23 23
24 config.jid = 'pubsub.plugsbee.com'; 24 config.jid = 'pubsub.example.org';
25 config.password = 'douzeetdouzefont1212'; 25 config.password = 'hellohello';
26 config.host = 'localhost'; 26 config.host = 'localhost';
27 config.port = 5347; 27 config.port = 5347;
28 config.superOwner = ['sonny@plugsbee.com']; 28 config.superOwner = ['you@example.com'];
29 config.version = '0.1'; 29 config.version = '0.1';
30 config.os = 'GNU/Linux'; 30 config.os = 'GNU/Linux';
31 config.allowCreateNode = [/(.*)/]; 31 config.allowCreateNode = [/@example\.com$/]; // value is an array of RegExp JIDs. If only super-owner should be able to create nodes, use [].
32 config.backend = 'directory'; // Put backends in “backends” directory. 32 config.backend = 'directory'; // Put backends in “backends” directory.
33 config.access = 'open'; // values include open, whitelist (by members) and authorize (owners of the node receive notification). presence and roster aren’t implemented yet. 33 config.access = 'open'; // values include open, whitelist (by members) and authorize (owners of the node receive notification). presence and roster aren’t implemented yet.
34 config.pluginsDir = 'modules'; 34 config.pluginsDir = 'modules';
35 config.hideNonAccessibleNodes = true; 35 config.hideNonAccessibleNodes = true;
36 36