diff --git a/svelte.config.js b/svelte.config.js index e70e3ac..1998181 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -11,7 +11,12 @@ const config = { // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. // If your environment is not supported, or you settled on a specific environment, switch out the adapter. // See https://kit.svelte.dev/docs/adapters for more information about adapters. - adapter: adapter(), + adapter: adapter({ + // Increase body size limit to 10MB for file uploads + bodyParser: { + sizeLimit: 10485760 // 10MB in bytes + } + }), csrf: { checkOrigin: false