From faf79d37ad9338abf09a13ad15c8613def129daa Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sun, 6 Oct 2024 01:12:44 +0200 Subject: [PATCH] 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"