summaryrefslogtreecommitdiff
path: root/static/_headers
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-02-02 15:05:05 +0800
committerEltrac <hi@guhub.cn>2025-02-02 15:05:05 +0800
commitb6ff2512467429f6b9d1fa4fca97cf986c9fc82d (patch)
tree1fadb3baf586d2257a005646e78b6b9d2f7508e9 /static/_headers
parenta7cfc41208c8d1f56679ba6c5c2ad86c41f04252 (diff)
chore(cloudflare): attach headers to fix CORS issues
Former-commit-id: 33ef8f4c355fa5f722154941266835f980bbd5fc
Diffstat (limited to 'static/_headers')
-rw-r--r--static/_headers8
1 files changed, 8 insertions, 0 deletions
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: *