mirror of
https://github.com/0x2E/fusion.git
synced 2025-06-08 05:27:15 +09:00
21 lines
455 B
JavaScript
21 lines
455 B
JavaScript
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;
|