page-actions
bat 3 years ago
parent 895c79130f
commit cec083ef39

@ -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,
} }
}) })

Loading…
Cancel
Save