diff --git a/hosts/rico2/services/adtya.xyz.nix b/hosts/rico2/services/adtya.xyz.nix index c75e8d0..c245a48 100644 --- a/hosts/rico2/services/adtya.xyz.nix +++ b/hosts/rico2/services/adtya.xyz.nix @@ -1,6 +1,7 @@ { pkgs, adtya-xyz, + secrets, ... }: let system = pkgs.system; @@ -21,6 +22,11 @@ in { respond `{"m.homeserver": {"base_url": "https://matrix.adtya.xyz:443"}}` } + handle /.well-known/discord { + header Access-Control-Allow-Origin * + respond `${secrets.discord_domain_well_known}` + } + handle { root * ${adtya-xyz.packages.${system}.default}/share/web encode gzip diff --git a/secrets.nix b/secrets.nix index 8306a16..ce5745f 100644 Binary files a/secrets.nix and b/secrets.nix differ