From d506bc2b6ac80dfd3b1258f8966a7e2e222404e0 Mon Sep 17 00:00:00 2001 From: cy Date: Thu, 9 Jan 2025 18:23:35 -0500 Subject: [PATCH] element-desktop stopped working --- home/yt/ytnix.nix | 1 - hosts/titan/Caddyfile | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/home/yt/ytnix.nix b/home/yt/ytnix.nix index 729894f..b3652ac 100644 --- a/home/yt/ytnix.nix +++ b/home/yt/ytnix.nix @@ -52,7 +52,6 @@ fastfetch discord nwg-look - element-desktop kdePackages.gwenview kdePackages.okular kdePackages.qtwayland diff --git a/hosts/titan/Caddyfile b/hosts/titan/Caddyfile index d13e7ac..70cc99f 100644 --- a/hosts/titan/Caddyfile +++ b/hosts/titan/Caddyfile @@ -17,6 +17,8 @@ cything.io { header /.well-known/matrix/* Content-Type application/json header /.well-known/matrix/* Access-Control-Allow-Origin * + header /.well-known/matrix/* Access-Control-Allow-Methods GET,POST,PUT,DELETE,OPTIONS,PATCH,HEAD + header /.well-known/matrix/* Access-Control-Allow-Headers X-Requested-With,Content-Type,Authorization,Origin,Accept respond /.well-known/matrix/server {"m.server":"chat.cything.io:443"} respond /.well-known/matrix/client {"m.server":{"base_url":"https://chat.cything.io"},"m.homeserver":{"base_url":"https://chat.cything.io"},"org.matrix.msc3575.proxy":{"url":"https://chat.cything.io"}} }