Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakurasan committed Mar 23, 2023
1 parent b993198 commit 0bec941
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0bec941

Please sign in to comment.