Add CORS for Matrix well-known files

This commit is contained in:
Daniel Flanagan 2021-11-30 10:19:24 -06:00
parent 8da35a9238
commit 4623007e25
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 6 additions and 1 deletions

3
.gitignore vendored
View file

@ -1,5 +1,6 @@
/resources
/public
# Local Netlify folder
/.netlify
*.lock

View file

@ -2,3 +2,7 @@
for = "/font/iosevka/*"
[headers.values]
Access-Control-Allow-Origin = "https://git.lyte.dev"
for = "/.well-known/matrix/*"
[headers.values]
Access-Control-Allow-Origin = "*"