mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Fix well-known client configuration
This commit is contained in:
parent
4c68195030
commit
c5ef944076
1 changed files with 3 additions and 2 deletions
|
@ -5,8 +5,9 @@ location /.well-known/matrix/server {
|
|||
}
|
||||
|
||||
location /.well-known/matrix/client {
|
||||
return 200 '{"im.vector.riot.jitsi":
|
||||
{"preferredDomain": "__JITSI_SERVER_ADDR__"}
|
||||
return 200 '{
|
||||
"m.homeserver": { "base_url": "https://__DOMAIN__" },
|
||||
"im.vector.riot.jitsi": {"preferredDomain": "__JITSI_SERVER_ADDR__"}
|
||||
}';
|
||||
add_header Content-Type application/json;
|
||||
add_header Access-Control-Allow-Origin '*';
|
||||
|
|
Loading…
Reference in a new issue