Revert "fix compile error"

This reverts commit 661bcf90a4.
This commit is contained in:
Charlotte 🦝 Delenk 2022-08-25 20:19:49 +01:00
parent 15026785ce
commit 40a8898f48
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -169,18 +169,18 @@ in {
};
"/_matrix/media" = mediaProxyConfig;
"/_matrix/client/v3/logout" = mediaProxyConfig;
"/.well-known/matrix/server" = {
locations."/.well-known/matrix/server" = {
extraConfig = ''
return 200 '{ "m.server": "matrix.chir.rs:443" }';
'';
};
"/.well-known/matrix/client" = {
locations."/.well-known/matrix/client" = {
extraConfig = ''
add_header Access-Control-Allow-Origin '*';
return 200 '{ "m.homeserver": { "base_url": "https://matrix.chir.rs" } }';
'';
};
"/_synapse/metrics" = {
locations."/_synapse/metrics" = {
extraConfig = ''
return 404 'Not found';
'';