Comment.
This commit is contained in:
parent
7259ae59a2
commit
2b7174eb96
@ -76,6 +76,10 @@ async function initWebchatRouter (options: RegisterServerOptions): Promise<Route
|
|||||||
room = '{{VIDEO_UUID}}@room.' + prosodyDomain
|
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 boshUri = getBaseRouterCanonicalRoute(options) + 'webchat/http-bind'
|
||||||
const wsUri = ''
|
const wsUri = ''
|
||||||
authenticationUrl = options.peertubeHelpers.config.getWebserverUrl() +
|
authenticationUrl = options.peertubeHelpers.config.getWebserverUrl() +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user