Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions _headers
Original file line number Diff line number Diff line change
@@ -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
20 changes: 10 additions & 10 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: ['<all>']
}
}),
alias: {
'$utils': 'src/utils/',
'$stores': 'src/stores/'
}
},
preprocess: vitePreprocess()
}),
alias: {
$utils: 'src/utils/',
$stores: 'src/stores/'
}
},
preprocess: vitePreprocess()
};

export default config;