From ca353279421ad458b0dd18fca305301b2e8a4fba Mon Sep 17 00:00:00 2001 From: Eltrac Date: Wed, 11 Jun 2025 16:29:00 +0800 Subject: chore(HTTP): add headers allowing external scripts --- static/_headers | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 static/_headers (limited to 'static') 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; -- cgit v1.2.3