diff options
Diffstat (limited to 'svelte.config.js')
| -rw-r--r-- | svelte.config.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/svelte.config.js b/svelte.config.js index efa0e4b..f973307 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -8,12 +8,15 @@ const config = { kit: { adapter: adapter(), + paths: { + base: '' + }, csp: { - mode: 'auto', + mode: 'nonce', directives: { 'script-src': ['self', 'https://hcaptcha.com', 'https://*.hcaptcha.com'], 'frame-src': ['self', 'https://hcaptcha.com', 'https://*.hcaptcha.com'], - 'style-src': ['self', 'https://hcaptcha.com', 'https://*.hcaptcha.com'], + 'style-src': ['self', 'https://hcaptcha.com', 'https://*.hcaptcha.com', 'unsafe-inline'], 'connect-src': ['self', 'https://hcaptcha.com', 'https://*.hcaptcha.com'] } } |
