diff --git a/_headers b/_headers index aab67718..f9660253 100644 --- a/_headers +++ b/_headers @@ -1,2 +1,8 @@ /* X-Frame-Options: DENY + X-XSS-Protection: 0 + X-Content-Type-Options: nosniff + Referrer-Policy: strict-origin-when-cross-origin + Strict-Transport-Security: text/html; charset=UTF-8 + Content-Type: text/html: charset=UTF-8 + Content-Security-Policy: default-src 'self'; script-src 'self' static.cloudflareinsights.com diff --git a/svelte.config.js b/svelte.config.js index 800310f7..459ac84e 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -3,20 +3,20 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; /** @type {import('@sveltejs/kit').Config} */ const config = { - kit: { - adapter: adapter({ - fallback: '200.html', + kit: { + adapter: adapter({ + fallback: '200.html', routes: { include: ['/*'], exclude: [''] } - }), - alias: { - '$utils': 'src/utils/', - '$stores': 'src/stores/' - } - }, - preprocess: vitePreprocess() + }), + alias: { + $utils: 'src/utils/', + $stores: 'src/stores/' + } + }, + preprocess: vitePreprocess() }; export default config;