|
|
|
@ -11,10 +11,19 @@ const config = {
|
|
|
|
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
|
|
|
|
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
|
|
|
|
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
|
|
|
|
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
|
|
|
|
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
|
|
|
|
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
|
|
|
|
adapter: adapter(),
|
|
|
|
adapter: adapter()
|
|
|
|
|
|
|
|
},
|
|
|
|
csrf: {
|
|
|
|
csrf: {
|
|
|
|
checkOrigin: false
|
|
|
|
trustedOrigins: [
|
|
|
|
}
|
|
|
|
'http://localhost:3000',
|
|
|
|
|
|
|
|
'http://127.0.0.1:3000',
|
|
|
|
|
|
|
|
'http://localhost:5173',
|
|
|
|
|
|
|
|
'http://127.0.0.1:5173',
|
|
|
|
|
|
|
|
'https://localhost:3000',
|
|
|
|
|
|
|
|
'https://127.0.0.1:3000',
|
|
|
|
|
|
|
|
'https://localhost:5173',
|
|
|
|
|
|
|
|
'https://127.0.0.1:5173'
|
|
|
|
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|