Add CORS for Matrix well-known files
This commit is contained in:
parent
8da35a9238
commit
4623007e25
2 changed files with 6 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
||||||
/resources
|
/resources
|
||||||
/public
|
/public
|
||||||
|
|
||||||
# Local Netlify folder
|
|
||||||
/.netlify
|
/.netlify
|
||||||
|
|
||||||
|
*.lock
|
||||||
|
|
|
@ -2,3 +2,7 @@
|
||||||
for = "/font/iosevka/*"
|
for = "/font/iosevka/*"
|
||||||
[headers.values]
|
[headers.values]
|
||||||
Access-Control-Allow-Origin = "https://git.lyte.dev"
|
Access-Control-Allow-Origin = "https://git.lyte.dev"
|
||||||
|
|
||||||
|
for = "/.well-known/matrix/*"
|
||||||
|
[headers.values]
|
||||||
|
Access-Control-Allow-Origin = "*"
|
||||||
|
|
Loading…
Reference in a new issue