From c3cdb04e0c3d59814f94281731a37d0315432470 Mon Sep 17 00:00:00 2001 From: saiminh Date: Mon, 30 Oct 2023 17:31:21 +0100 Subject: [PATCH] add unsafe-inline --- svelte.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svelte.config.js b/svelte.config.js index 29105d5..98c8914 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -33,7 +33,7 @@ const config = { csp: { mode: 'auto', directives: { - 'script-src': ['self', 'unsafe-eval'] + 'script-src': ['self', 'unsafe-eval', 'unsafe-inline'] }, }, // prerender: {