This commit is contained in:
Sandro - 2023-07-24 21:30:18 +02:00
parent 8724e9a7eb
commit 6c950fc96c
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 2 deletions

View File

@ -54,13 +54,13 @@ in
"~ ^/.well-known/matrix/server" = {
return = "200 '{\"m.server\": \"matrix.c3d2.de:443\"}'";
extraConfig = ''
add_header Content-Type application/json;
default_type application/json;
'';
};
"~ ^/.well-known/matrix/client" = {
return = "200 '{\"m.homeserver\": {\"base_url\": \"https://matrix.c3d2.de\"}}'";
extraConfig = ''
add_header "Content-Type" application/json;
default_type application/json;
add_header "Access-Control-Allow-Origin" *;
'';
};