From c4072cc6acdd4a2280e61c4caeeca0cd57fa12ed Mon Sep 17 00:00:00 2001 From: Okiki Ojo Date: Tue, 31 May 2022 16:28:01 +0000 Subject: [PATCH] chore: CSP --- public/_headers | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/public/_headers b/public/_headers index 8babf4e..9fc40dd 100644 --- a/public/_headers +++ b/public/_headers @@ -7,24 +7,8 @@ Cache-Control: max-age=480, stale-while-revalidate=360, public Accept-CH: DPR, Viewport-Width, Width X-UA-Compatible: IE=edge - Content-Security-Policy: default-src 'self'; font-src 'self' https://fonts.gstatic.com; style-src 'self' 'unsafe-inline'; img-src 'self' https://res.cloudinary.com https://api.producthunt.com https://opencollective.com data:; script-src 'self' https://opencollective.com https://*.bundlejs.com https://bundlejs.com https://cdn.polyfill.io 'unsafe-eval' 'unsafe-inline'; connect-src 'self' https:; block-all-mixed-content; upgrade-insecure-requests; base-uri 'self'; object-src 'none'; worker-src 'self'; manifest-src 'self'; media-src 'self' https://res.cloudinary.com; form-action 'self'; frame-src 'self' https://opencollective.com https://*.bundlejs.com https://bundlejs.com; frame-ancestors 'self' https:; + Content-Security-Policy: default-src 'self'; font-src 'self' https://fonts.gstatic.com; style-src 'self' 'unsafe-inline'; img-src 'self' https://res.cloudinary.com https://api.producthunt.com https://opencollective.com data:; script-src 'self' https://opencollective.com https://*.bundlejs.com https://bundlejs.com https://cdn.polyfill.io data: 'unsafe-eval' 'unsafe-inline'; connect-src 'self' https:; block-all-mixed-content; upgrade-insecure-requests; base-uri 'self'; object-src 'none'; worker-src 'self'; manifest-src 'self'; media-src 'self' https://res.cloudinary.com; form-action 'self'; frame-src 'self' https://opencollective.com https://*.bundlejs.com https://bundlejs.com; frame-ancestors 'self' https:; Permissions-Policy: geolocation=(), microphone=(), usb=(), sync-xhr=(self), camera=(), browsing-topics=(), join-ad-interest-group=(), run-ad-auction=() - Link: ; rel=modulepreload; importance=high - -/*.html - Link: ; rel=preload; as=style - Link: ; rel=modulepreload; importance=high - # Link: ; rel=modulepreload; importance=high - # Link: ; rel=preload; as=script - # Link: ; rel=modulepreload - -/ - Link: ; rel=modulepreload; importance=high - Link: ; rel=modulepreload - Link: ; rel=preload; as=font; type=font/ttf; importance=low; crossorigin - Link: ; rel=prefetch - Link: ; rel=prefetch; importance=high - Link: ; rel=modulepreload /*.css Cache-Control: public, max-age=4800, stale-while-revalidate=480 -- knotmirror 0.0.1