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
commit33ef8f4c355fa5f722154941266835f980bbd5fc (patch)
tree0193917ef3283d06bebf256b9042ef507938a801 /static/_headers
parent7dc1163d9083ce14a5e42eb406e317f4295f7cd1 (diff)
chore(cloudflare): attach headers to fix CORS issues
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: *