fix: use node adapter for frontend

This commit is contained in:
Sam 2023-03-11 17:06:19 +01:00
parent 85cb07886c
commit f358a56053
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
3 changed files with 142 additions and 4 deletions

View file

@ -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,9 +8,6 @@ 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.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter(),
},
};