diff --git a/server/lib/prosody/config/content.ts b/server/lib/prosody/config/content.ts index e663f124..43ec98de 100644 --- a/server/lib/prosody/config/content.ts +++ b/server/lib/prosody/config/content.ts @@ -190,6 +190,8 @@ class ProsodyConfigContent { this.anon.set('http_external_url', 'http://' + prosodyDomain) this.muc.set('restrict_room_creation', 'local') + this.muc.set('http_host', prosodyDomain) + this.muc.set('http_external_url', 'http://' + prosodyDomain) if (this.authenticated) { this.authenticated.set('trusted_proxies', ['127.0.0.1', '::1']) diff --git a/server/lib/routers/webchat.ts b/server/lib/routers/webchat.ts index ad136bb7..8b67417d 100644 --- a/server/lib/routers/webchat.ts +++ b/server/lib/routers/webchat.ts @@ -127,10 +127,7 @@ async function initWebchatRouter (options: RegisterServerOptions): Promise