|
|
@ -33,7 +33,7 @@ async function cacheFirst(request) { |
|
|
const csp = url.searchParams.get('csp') |
|
|
const csp = url.searchParams.get('csp') |
|
|
return new Response(html, { |
|
|
return new Response(html, { |
|
|
headers: { |
|
|
headers: { |
|
|
'Content-Type': 'text/html', |
|
|
'Content-Type': 'text/html; charset=utf-8', |
|
|
'Content-Security-Policy': csp, |
|
|
'Content-Security-Policy': csp, |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|