mirror of
https://github.com/polaroi8d/cactoide.git
synced 2026-03-22 06:05:28 +00:00
25 lines
651 B
JavaScript
25 lines
651 B
JavaScript
import adapter from '@sveltejs/adapter-node';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://svelte.dev/docs/kit/integrations
|
|
// for more information about preprocessors
|
|
preprocess: vitePreprocess(),
|
|
|
|
kit: {
|
|
adapter: adapter({
|
|
// if you want to use 'split' mode, set this to 'split'
|
|
// and create a _redirects file with the redirects you want
|
|
// see "split" mode in https://github.com/sveltejs/kit/tree/main/packages/adapter-netlify
|
|
edge: false,
|
|
split: false
|
|
}),
|
|
csrf: {
|
|
checkOrigin: false
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|