From 085d8bbd7919efc09fe659575e726abd86703297 Mon Sep 17 00:00:00 2001 From: Cameron Otsuka Date: Mon, 16 Mar 2026 21:17:29 -0700 Subject: [PATCH] add unsafe-inline and wasm-unsafe-eval --- astro.config.mjs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 7fdec82..97e077d 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -73,8 +73,15 @@ export default defineConfig({ "object-src 'none'", "base-uri 'self'", ], + styleDirective: { + resources: ["'self'", "'unsafe-inline'"], + }, scriptDirective: { - resources: ["'self'", 'https://ph.otsuka.systems'], + resources: [ + "'self'", + 'https://ph.otsuka.systems', + "'wasm-unsafe-eval'", + ], strictDynamic: false, }, }, -- 2.53.0