From 2eb522b7a679780ee035e5fa58db9bfe74e034e1 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sun, 6 Oct 2024 00:51:20 +0200 Subject: [PATCH 1/4] Revert "Fix? client matrix homeserver url" This reverts commit 653fed6001cc25e4ff01d661cc99df3c2351e376. --- static/.well-known/matrix/client | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/.well-known/matrix/client b/static/.well-known/matrix/client index 0d05d9b..2bff7d5 100644 --- a/static/.well-known/matrix/client +++ b/static/.well-known/matrix/client @@ -1,5 +1,5 @@ { "m.homeserver": { - "base_url": "https://aroy-art.com" + "base_url": "https://m.aroy-art.com" } -} +} \ No newline at end of file From 780633ccf595ef09fdbb3773ea34a78dde5d4221 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sun, 6 Oct 2024 01:00:43 +0200 Subject: [PATCH 2/4] Fix?? client matrix homeserver url --- static/.well-known/matrix/client | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/.well-known/matrix/client b/static/.well-known/matrix/client index 2bff7d5..c3908fb 100644 --- a/static/.well-known/matrix/client +++ b/static/.well-known/matrix/client @@ -1,5 +1,5 @@ { "m.homeserver": { - "base_url": "https://m.aroy-art.com" + "base_url": "https://m.aroy-art.com:443" } -} \ No newline at end of file +} From 19a3be7dfa83967f27187fc2e657a66828bb751e Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sun, 6 Oct 2024 01:05:42 +0200 Subject: [PATCH 3/4] Fix?? client matrix well-known --- static/.well-known/matrix/client | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/.well-known/matrix/client b/static/.well-known/matrix/client index c3908fb..f7a74b6 100644 --- a/static/.well-known/matrix/client +++ b/static/.well-known/matrix/client @@ -1,5 +1,8 @@ { "m.homeserver": { - "base_url": "https://m.aroy-art.com:443" + "base_url": "https://m.aroy-art.com" + }, + "m.identity_server": { + "base_url": "https://vector.im" } } From faf79d37ad9338abf09a13ad15c8613def129daa Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sun, 6 Oct 2024 01:12:44 +0200 Subject: [PATCH 4/4] Fix: CORS on /.well-known/matrix/client --- netlify.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/netlify.toml b/netlify.toml index e066ff1..c9a098b 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,6 +2,12 @@ publish = "public" command = "hugo --minify" +[[headers]] + # Define which paths this specific [[headers]] block will cover. + for = "/.well-known/matrix/client" + [headers.values] + Access-Control-Allow-Origin = "*" + [context.production.environment] HUGO_VERSION = "v0.129.0" HUGO_ENV = "production"