Procházet zdrojové kódy

Merge pull request #314 from aaronraimist/well-known-client-no-identity

Remove identity server section from .well-known/matrix/client if there is no identity server
pull/315/head
Slavi Pantaleev před 6 roky
committed by GitHub
rodič
revize
4cc6cdf6f3
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. +3
    -1
      roles/matrix-base/templates/static-files/well-known/matrix-client.j2

+ 3
- 1
roles/matrix-base/templates/static-files/well-known/matrix-client.j2 Zobrazit soubor

@@ -2,8 +2,10 @@
{
"m.homeserver": {
"base_url": "{{ matrix_homeserver_url }}"
},
}
{% if matrix_identity_server_url %},
"m.identity_server": {
"base_url": "{{ matrix_identity_server_url }}"
}
{% endif %}
}

Načítá se…
Zrušit
Uložit