This commit is contained in:
John Livingston 2022-08-23 18:54:28 +02:00
parent 7259ae59a2
commit 2b7174eb96
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -76,6 +76,10 @@ async function initWebchatRouter (options: RegisterServerOptions): Promise<Route
room = '{{VIDEO_UUID}}@room.' + prosodyDomain
}
}
// Here we are using getBaseRouterCanonicalRoute,
// which correspond to a path without the plugin version.
// We are doing this, so the path is predictible,
// and can be optimized in the nginx configuration (to bypass Peertube).
const boshUri = getBaseRouterCanonicalRoute(options) + 'webchat/http-bind'
const wsUri = ''
authenticationUrl = options.peertubeHelpers.config.getWebserverUrl() +