From a9d7f300e19cd59e98f8833492aeb0f254d1e172 Mon Sep 17 00:00:00 2001 From: Sanyam Jain Date: Wed, 5 Jun 2024 19:14:35 -0700 Subject: [PATCH] move to edge --- svelte.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index 2b35fe1..f2822c8 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,4 +1,4 @@ -import adapter from '@sveltejs/adapter-auto'; +import adapter from '@sveltejs/adapter-vercel'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; /** @type {import('@sveltejs/kit').Config} */ @@ -11,7 +11,9 @@ 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({ + runtime: 'edge' + }) } };