Add config param to disable client wellknown fetch (#34084)
* Add enable_client_well_known_lookups config option Signed-off-by: David Langley <langley.dave@gmail.com> * Gate client .well-known poll on enable_client_well_known_lookups Signed-off-by: David Langley <langley.dave@gmail.com> * Gate MatrixRTC foci well-known fallback on enable_client_well_known_lookups Signed-off-by: David Langley <langley.dave@gmail.com> --------- Signed-off-by: David Langley <langley.dave@gmail.com> Co-authored-by: David Langley <langley.dave@gmail.com>
This commit is contained in:
co-authored by
David Langley
parent
c4606c19f8
commit
6aeb5f552b
+8
@@ -37,6 +37,14 @@ export interface WebConfigJson {
|
||||
disable_login_language_selector?: boolean;
|
||||
disable_3pid_login?: boolean;
|
||||
|
||||
/**
|
||||
* Whether the app may make runtime requests to the user's `<server_name>/.well-known/matrix/...`
|
||||
* endpoints (such as the post-login client well-known poll). Set to false to disable these, so the app
|
||||
* only contacts the homeserver base URL. Does not affect the `well_known` returned inline in the
|
||||
* `/login` response. Defaults to true.
|
||||
*/
|
||||
enable_client_well_known_lookups?: boolean;
|
||||
|
||||
brand?: string;
|
||||
branding?: {
|
||||
welcome_background_url?: string | string[]; // chosen at random if array
|
||||
|
||||
Reference in New Issue
Block a user