diff options
| author | Eltrac <hi@guhub.cn> | 2025-06-11 16:29:00 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-06-11 16:29:00 +0800 |
| commit | 17c65bdcbf4a74ea3799a28dedd34c5fa5f58d8c (patch) | |
| tree | dd089b1d3ac98fb1feb4c55e6562f000e9991f09 | |
| parent | 83e42bab31ac2ea14da45f807464931e94b4c2e2 (diff) | |
chore(HTTP): add headers allowing external scripts
Former-commit-id: ca353279421ad458b0dd18fca305301b2e8a4fba
| -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..a96d80e5 --- /dev/null +++ b/static/_headers @@ -0,0 +1,10 @@ +/* + Content-Security-Policy: + script-src 'self' + https://remark.guhub.cn + https://umami.guhub.cn + https://static.cloudflareinsights.com + 'unsafe-inline' + 'unsafe-eval'; + img-src 'self' data: https://remark.guhub.cn; + connect-src 'self' https://remark.guhub.cn; |
