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 | 77051ce3995c3b553d6ddd110a537444c8ddb3b9 (patch) | |
| tree | 150936a287539ee98ec729ef6d42e4a400733b06 /static/_headers | |
| parent | b2680c6691d52212d6e810fc7b5aaf3303d74725 (diff) | |
chore(HTTP): allow cross-origin access on cal-heatmap.json and favicon
Former-commit-id: 3d29bd22035bcfcf34321fd0507f3cb2e2112e88
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 |
