From 7cf57dde9b2f35f584a702147de0ff566a1fbf02 Mon Sep 17 00:00:00 2001 From: titver968 Date: Thu, 24 Apr 2025 17:16:00 +0200 Subject: [PATCH] svelte.config.js upload 2 GB --- svelte.config.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index e73e5f5..76a58b1 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -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() - vite: { - server: { - maxPayload: 2048 * 1024 * 1024 // 2 GB, adjust as needed - } - } - } + adapter: adapter(), + }, + vite: { + server: { + maxPayload: 2048 * 1024 * 1024 // 2 GB, adjust as needed + } + } + }; export default config;