"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-5186/doc/example-config-files/multidomain/config.js.multidomain.example" (30 Jul 2021, 507 Bytes) of package /linux/misc/jitsi-meet-5186.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

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