From 33ef8f4c355fa5f722154941266835f980bbd5fc Mon Sep 17 00:00:00 2001 From: Eltrac Date: Sun, 2 Feb 2025 15:05:05 +0800 Subject: chore(cloudflare): attach headers to fix CORS issues --- static/_headers | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 static/_headers (limited to 'static/_headers') diff --git a/static/_headers b/static/_headers new file mode 100644 index 00000000..11f38413 --- /dev/null +++ b/static/_headers @@ -0,0 +1,8 @@ +/cal-heatmap.json + Access-Control-Allow-Origin: * + Access-Control-Allow-Methods: GET, POST, OPTIONS + Access-Control-Allow-Headers: * +/favicon.png + Access-Control-Allow-Origin: * + Access-Control-Allow-Methods: GET, POST, OPTIONS + Access-Control-Allow-Headers: * -- cgit v1.2.3