diff --git a/Webserver/svelte.config.js b/Webserver/svelte.config.js index 1cf26a0..d688f7c 100644 --- a/Webserver/svelte.config.js +++ b/Webserver/svelte.config.js @@ -1,4 +1,4 @@ -import adapter from '@sveltejs/adapter-auto'; +import adapter from '@sveltejs/adapter-node'; import { vitePreprocess } from '@sveltejs/kit/vite'; /** @type {import('@sveltejs/kit').Config} */ @@ -8,8 +8,7 @@ const config = { preprocess: vitePreprocess(), kit: { - // 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. + // adapter-node uses adapter() method here; production env will always run with node. // See https://kit.svelte.dev/docs/adapters for more information about adapters. adapter: adapter() }