1
0
Fork 0
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:
Josué Tille 2020-09-24 00:23:26 +02:00
parent 4c68195030
commit c5ef944076
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -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 '*';