From 1265d1b101155cb19b1fbee05ac1387d1e9baf3c Mon Sep 17 00:00:00 2001 From: garret Date: Tue, 2 Jul 2024 15:59:54 +0100 Subject: something CORS, idk apparently you can't style an iframe if this header's not set? --- fetch-status.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fetch-status.py') 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(): -- cgit v1.2.3-70-g09d2