Skip to content
Snippets Groups Projects
Select Git revision
  • main
  • leximpact-vid
2 results

poetry.lock

Blame
  • svelte.config.js 562 B
    import adapter from "@sveltejs/adapter-node"
    import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"
    
    /** @type {import('@sveltejs/kit').Config} */
    const config = {
      kit: {
        adapter: adapter({
          precompress: true,
        }),
    
        csrf: {
          // Disabling is required for authentication.
          // But CSRF check is done by csrfHandler.
          checkOrigin: false,
        },
      },
    
      // Consult https://kit.svelte.dev/docs/integrations#preprocessors
      // for more information about preprocessors
      preprocess: [vitePreprocess({})],
    }
    
    export default config