mirror of
https://github.com/0x2E/fusion.git
synced 2025-06-08 05:27:15 +09:00
init
This commit is contained in:
parent
245c8933cb
commit
e9b065e9fb
170 changed files with 10768 additions and 0 deletions
21
frontend/svelte.config.js
Normal file
21
frontend/svelte.config.js
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue