fix(delegation): missing CORS
This commit is contained in:
parent
56f48b1191
commit
8fe999c3bb
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ data:
|
||||||
|
|
||||||
location /.well-known/matrix/client {
|
location /.well-known/matrix/client {
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
|
||||||
return 200 '{"m.homeserver": { "base_url": "https://$BASE_URL" }}';
|
return 200 '{"m.homeserver": { "base_url": "https://$BASE_URL" }}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue