diff options
author | garret <garret@airmail.cc> | 2024-07-02 15:59:54 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2024-07-02 17:34:41 +0100 |
commit | 1265d1b101155cb19b1fbee05ac1387d1e9baf3c (patch) | |
tree | 1b01180b051e284e08ab6f914d29c06f156b6918 /fetch-status.py | |
parent | 51c05abc2dcdbcc919dc3ea23125ed91c13dac15 (diff) | |
download | agora-status-1265d1b101155cb19b1fbee05ac1387d1e9baf3c.tar.gz agora-status-1265d1b101155cb19b1fbee05ac1387d1e9baf3c.tar.bz2 agora-status-1265d1b101155cb19b1fbee05ac1387d1e9baf3c.zip |
something CORS, idk
apparently you can't style an iframe if this header's not set?
Diffstat (limited to 'fetch-status.py')
-rwxr-xr-x | fetch-status.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fetch-status.py b/fetch-status.py index 1426a99..1c0522d 100755 --- a/fetch-status.py +++ b/fetch-status.py @@ -6,6 +6,8 @@ import requests import os +print("Access-Control-Allow-Origin: *") # CORS shit, needed for styling iframes apparently + profile_id = os.environ['QUERY_STRING'].strip() if not profile_id.isdigit(): |