Removing muc_create_api_auth, because Peertube will not allow an authorization header.

This commit is contained in:
John Livingston 2021-05-02 15:22:08 +02:00
parent d29aca2703
commit e1b08ce025
1 changed files with 1 additions and 4 deletions

View File

@ -178,12 +178,9 @@ class ProsodyConfigContent {
this.muc.set('restrict_room_creation', 'local')
}
useMucHttpDefault (url: string, bearer?: string): void {
useMucHttpDefault (url: string): void {
this.muc.add('modules_enabled', 'muc_http_defaults')
this.muc.add('muc_create_api_url', url)
if (bearer) {
this.muc.add('muc_create_api_auth', bearer)
}
}
setArchive (duration: string): void {