1
0
Fork 1
mirror of https://github.com/0x2E/fusion.git synced 2025-06-08 05:27:15 +09:00
This commit is contained in:
rook1e 2024-03-06 16:54:13 +08:00
parent 245c8933cb
commit e9b065e9fb
No known key found for this signature in database
GPG key ID: C63289D731719BC0
170 changed files with 10768 additions and 0 deletions

21
frontend/svelte.config.js Normal file
View file

@ -0,0 +1,21 @@
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
adapter: adapter(),
csp: {
//TODO:XSS
directives: {
'script-src': ['self']
}
}
}
};
export default config;