diff options
| author | BigCoke233 <hi@guhub.cn> | 2025-12-02 11:10:51 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2025-12-02 11:10:51 +0800 |
| commit | 3d29bd22035bcfcf34321fd0507f3cb2e2112e88 (patch) | |
| tree | 522bd8569ed61e241d3b7c8bad3d92c48a11b140 /static/_headers | |
| parent | d3fcda6d8089e335e5774257cc15ae998d889e34 (diff) | |
chore(HTTP): allow cross-origin access on cal-heatmap.json and favicon
Diffstat (limited to 'static/_headers')
| -rw-r--r-- | static/_headers | 10 |
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 |
