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" diff --git a/static/.well-known/matrix/client b/static/.well-known/matrix/client index 0d05d9b..f7a74b6 100644 --- a/static/.well-known/matrix/client +++ b/static/.well-known/matrix/client @@ -1,5 +1,8 @@ { "m.homeserver": { - "base_url": "https://aroy-art.com" + "base_url": "https://m.aroy-art.com" + }, + "m.identity_server": { + "base_url": "https://vector.im" } }