hotfix: remove Access-Control-Allow-Origin * header

This commit is contained in:
Ahwx 2024-07-16 21:19:55 +02:00
parent ea868297bf
commit 79c682fa64

View file

@ -6,7 +6,7 @@ let
serverConfig."m.server" = "${fqdn}:443"; serverConfig."m.server" = "${fqdn}:443";
mkWellKnown = data: '' mkWellKnown = data: ''
default_type application/json; default_type application/json;
add_header Access-Control-Allow-Origin *; # add_header Access-Control-Allow-Origin *;
return 200 '${builtins.toJSON data}'; return 200 '${builtins.toJSON data}';
''; '';
in { in {