svelte.config.js upload 2 GB

This commit is contained in:
titver968
2025-04-24 17:16:00 +02:00
parent 6dff5009f0
commit 7cf57dde9b

View File

@@ -11,13 +11,14 @@ const config = {
// 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.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
adapter: adapter(),
},
vite: {
server: {
maxPayload: 2048 * 1024 * 1024 // 2 GB, adjust as needed
}
}
}
};
export default config;