From b5acb69c38248b7e34a7289fbff6b53dde22fcc4 Mon Sep 17 00:00:00 2001 From: Cameron Otsuka Date: Mon, 16 Mar 2026 21:27:18 -0700 Subject: [PATCH] remove astro csp --- astro.config.mjs | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 97e077d..6186176 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -64,28 +64,7 @@ export default defineConfig({ }, syntaxHighlight: 'prism', }, - security: { - csp: { - directives: [ - "default-src 'self'", - "connect-src 'self' https://ph.otsuka.systems", - 'frame-src https://www.youtube-nocookie.com', - "object-src 'none'", - "base-uri 'self'", - ], - styleDirective: { - resources: ["'self'", "'unsafe-inline'"], - }, - scriptDirective: { - resources: [ - "'self'", - 'https://ph.otsuka.systems', - "'wasm-unsafe-eval'", - ], - strictDynamic: false, - }, - }, - }, + vite: { build: { rollupOptions: { -- 2.53.0