From: Cameron Otsuka Date: Tue, 17 Mar 2026 04:27:18 +0000 (-0700) Subject: remove astro csp X-Git-Url: https://git.otsuka.systems/?a=commitdiff_plain;h=b5acb69c38248b7e34a7289fbff6b53dde22fcc4;p=cotsuka.github.io remove astro csp --- 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: {