mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 09:39:25 +01:00
fix cors
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
3c433ea8b7
commit
33b333ac9a
1 changed files with 8 additions and 0 deletions
|
@ -212,6 +212,14 @@
|
||||||
Access-Control-Allow-Origin = "*"
|
Access-Control-Allow-Origin = "*"
|
||||||
Access-Control-Allow-Methods = "GET"
|
Access-Control-Allow-Methods = "GET"
|
||||||
|
|
||||||
|
[[headers]]
|
||||||
|
for = "/.well-known/network/*"
|
||||||
|
|
||||||
|
[headers.values]
|
||||||
|
Access-Control-Allow-Origin = "*"
|
||||||
|
Access-Control-Allow-Methods = "GET"
|
||||||
|
Content-Type = "application/json"
|
||||||
|
|
||||||
[[headers]]
|
[[headers]]
|
||||||
for = "/.well-known/matrix/*"
|
for = "/.well-known/matrix/*"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue