From 8fe999c3bb89b12547001596bbf5a2e2d29d58c9 Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 1 May 2024 14:51:30 +0200 Subject: [PATCH] fix(delegation): missing CORS --- manifests/prod/delegation.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/prod/delegation.yaml b/manifests/prod/delegation.yaml index fdab21c..42308b7 100644 --- a/manifests/prod/delegation.yaml +++ b/manifests/prod/delegation.yaml @@ -55,6 +55,8 @@ data: location /.well-known/matrix/client { default_type application/json; + add_header Access-Control-Allow-Origin *; + return 200 '{"m.homeserver": { "base_url": "https://$BASE_URL" }}'; } }