mirror of
https://github.com/Aroy-Art/Aroy-Art-Site.git
synced 2024-12-25 19:14:25 +01:00
Fix: CORS on /.well-known/matrix/client
This commit is contained in:
parent
19a3be7dfa
commit
faf79d37ad
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue