Mercurial > eldonilo > avatar
comparison configuration.js.example @ 13:38ddd5888b8d
It’s now a client instead of a component. :)
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
|---|---|
| date | Fri, 03 Jun 2011 21:45:59 +0200 |
| parents | a637cde69f71 |
| children | 27eaec05cfd0 |
comparison
equal
deleted
inserted
replaced
| 12:a0ed785d1b8d | 13:38ddd5888b8d |
|---|---|
| 18 | 18 |
| 19 'use strict'; | 19 'use strict'; |
| 20 | 20 |
| 21 var config = exports; | 21 var config = exports; |
| 22 | 22 |
| 23 // The JID and password of the component, that have to be configured in | 23 // The JID and password of the account used. |
| 24 // the host. | |
| 25 config.jid = 'avatar.example.org'; | 24 config.jid = 'avatar.example.org'; |
| 26 config.password = 'hellohello'; | 25 config.password = 'hellohello'; |
| 27 | |
| 28 // The hostname or IP address and the port of the XMPP server hosting | |
| 29 // the component. | |
| 30 config.host = 'localhost'; | |
| 31 config.port = 5347; | |
| 32 | 26 |
| 33 // Root of the webservice, useful if you want to proxy it. | 27 // Root of the webservice, useful if you want to proxy it. |
| 34 config.webRoot = '^/avatar/'; | 28 config.webRoot = '^/avatar/'; |
| 35 | 29 |
| 36 // These are the host and the port on which the web service will | 30 // These are the host and the port on which the web service will |