Fix: CORS on /.well-known/matrix/client

This commit is contained in:
Aroy-Art 2024-10-06 01:12:44 +02:00
parent 19a3be7dfa
commit faf79d37ad
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -2,6 +2,12 @@
publish = "public" publish = "public"
command = "hugo --minify" 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] [context.production.environment]
HUGO_VERSION = "v0.129.0" HUGO_VERSION = "v0.129.0"
HUGO_ENV = "production" HUGO_ENV = "production"