[refactor] proxy2

This commit is contained in:
kwaroran
2023-07-07 06:20:02 +09:00
parent 73b86f0a64
commit ead670516d
8 changed files with 76 additions and 87 deletions

View File

@@ -44,7 +44,9 @@ async function fetchProxy(request) {
newResponseHeaders.delete('content-security-policy');
newResponseHeaders.delete('content-security-policy-report-only');
newResponseHeaders.delete('clear-site-data');
newResponseHeaders.delete('Cache-Control');
const originalBody = originalResponse.body
response = new Response(originalBody, {