From eb9039b5e9333b811e3f872a97210cc8eb274296 Mon Sep 17 00:00:00 2001 From: Ayo Date: Thu, 9 Apr 2026 22:06:25 +0200 Subject: [PATCH] feat: disable astro security config --- astro.config.mjs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 43b9442..feccf92 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -14,7 +14,21 @@ export default defineConfig({ domains: ['cdn.bsky.app', 'media.ayco.io'], remotePatterns: [{ protocol: 'https' }], }, - security: { csp: true }, + // security: { + // csp: { + // directives: ["default-src: 'self'"], + // // insert additional directives + // // directives: ["default-src: 'self'"], + // scriptDirective: { + // resources: [ + // 'self', + // 'https://static.cloudflareinsights.com/beacon.min.js', + // ], + // // Toggle the keyword `strict-dynamic` + // // strictDynamic: true, + // }, + // }, + // }, integrations: [ sitemap(), serviceWorker({