Removing muc_create_api_auth, because Peertube will not allow an authorization header.
This commit is contained in:
parent
d29aca2703
commit
e1b08ce025
@ -178,12 +178,9 @@ class ProsodyConfigContent {
|
|||||||
this.muc.set('restrict_room_creation', 'local')
|
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('modules_enabled', 'muc_http_defaults')
|
||||||
this.muc.add('muc_create_api_url', url)
|
this.muc.add('muc_create_api_url', url)
|
||||||
if (bearer) {
|
|
||||||
this.muc.add('muc_create_api_auth', bearer)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setArchive (duration: string): void {
|
setArchive (duration: string): void {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user