summaryrefslogtreecommitdiff
path: root/static/_headers
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2025-12-02 11:10:51 +0800
committerBigCoke233 <hi@guhub.cn>2025-12-02 11:10:51 +0800
commit3d29bd22035bcfcf34321fd0507f3cb2e2112e88 (patch)
tree522bd8569ed61e241d3b7c8bad3d92c48a11b140 /static/_headers
parentd3fcda6d8089e335e5774257cc15ae998d889e34 (diff)
chore(HTTP): allow cross-origin access on cal-heatmap.json and favicon
Diffstat (limited to 'static/_headers')
-rw-r--r--static/_headers10
1 files changed, 10 insertions, 0 deletions
diff --git a/static/_headers b/static/_headers
new file mode 100644
index 00000000..96b3e133
--- /dev/null
+++ b/static/_headers
@@ -0,0 +1,10 @@
+/cal-heatmap.json
+ Access-Control-Allow-Origin: *
+ Access-Control-Allow-Methods: GET, POST, OPTIONS
+ Access-Control-Allow-Headers: *
+ Cross-Origin-Resource-Policy: cross-origin
+/favicon.png
+ Access-Control-Allow-Origin: *
+ Access-Control-Allow-Methods: GET, POST, OPTIONS
+ Access-Control-Allow-Headers: *
+ Cross-Origin-Resource-Policy: cross-origin