diff --git a/main.py b/main.py index 87d1084..12f45c0 100644 --- a/main.py +++ b/main.py @@ -50,5 +50,5 @@ def read_root( root = xml.fromstring(response.text) content = [i.text for i in root[1][0][0][3]] # root/body/GetFederationInformationResponseMessage/Domains - return JSONResponse(content=content, headers={"Cache-Control": "max-age=604800, public"}) + return JSONResponse(content=content, headers={"Access-Control-Allow-Origin": "*", "Cache-Control": "max-age=604800, public"})