From 0bec9413cfc9049ddede0c196f8bb63594622e9d Mon Sep 17 00:00:00 2001 From: Sakurasan <1173092237@qq.com> Date: Thu, 23 Mar 2023 18:28:52 +0800 Subject: [PATCH] update --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index d14eb46..ebc2698 100644 --- a/main.go +++ b/main.go @@ -73,6 +73,9 @@ func HandleProxy(w http.ResponseWriter, r *http.Request) { w.Header().Set(k, v) } } + rsp.Header.Del("content-security-policy") + rsp.Header.Del("content-security-policy-report-only") + rsp.Header.Del("clear-site-data") // 返回 API 响应主体 w.WriteHeader(rsp.StatusCode)