You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.js.multidomain.example 528B

123456789101112131415
  1. var subdomain = "<!--# echo var="subdomain" default="" -->";
  2. if (subdomain) {
  3. subdomain = subdomain.substr(0,subdomain.length-1).split('.').join('_').toLowerCase() + '.';
  4. }
  5. var config = {
  6. hosts: {
  7. domain: 'jitsi.example.com',
  8. muc: 'conference.'+subdomain+'jitsi.example.com', // FIXME: use XEP-0030
  9. focus: 'focus.jitsi.example.com',
  10. },
  11. useNicks: false,
  12. bosh: '//jitsi.example.com/http-bind', // FIXME: use xep-0156 for that
  13. websocket: 'wss://jitsi.example.com/xmpp-websocket'
  14. };