1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dendrite_ynh.git synced 2024-09-03 18:25:58 +02:00

server_name.conf: remove trailing comma

The JSON is invalid and breaks with clients that use this (example: NeoChat)
This commit is contained in:
Matthieu Rakotojaona 2023-06-21 11:04:07 +02:00 committed by GitHub
parent d79f7e2ebc
commit 2c85ac4bbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ location /.well-known/matrix/server {
location /.well-known/matrix/client { location /.well-known/matrix/client {
return 200 '{ return 200 '{
"m.homeserver": { "base_url": "https://__DOMAIN__" }, "m.homeserver": { "base_url": "https://__DOMAIN__" }
}'; }';
add_header Content-Type application/json; add_header Content-Type application/json;
add_header Access-Control-Allow-Origin '*'; add_header Access-Control-Allow-Origin '*';