From bd397d0d1a1e2ae8d39dcd4f5e7cbd1f21be61e4 Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Mon, 10 Jul 2023 09:23:47 -0700 Subject: [PATCH] csp: Update CSP --- svelte.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/svelte.config.js b/svelte.config.js index 635953f2..12aa3119 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -14,7 +14,9 @@ const config = { adapter: adapter(), csp: { directives: { - 'script-src': ['self'] + 'script-src': ['self'], + 'object-src': ['none'], + 'base-uri': ['none'] }, mode: 'nonce' }