From 31c2f35d1005ea2a042e5d3594ed2a639768e56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksa=20Siri=C5=A1ki?= <31509435+aleksasiriski@users.noreply.github.com> Date: Fri, 5 Apr 2024 01:01:41 +0200 Subject: [PATCH] chore(vercel): enabled edge --- svelte.config.js | 4 +++- svelte.config.vercel.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index 9d47d05e..f2822c8e 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -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' + }) } }; diff --git a/svelte.config.vercel.js b/svelte.config.vercel.js index 9d47d05e..f2822c8e 100644 --- a/svelte.config.vercel.js +++ b/svelte.config.vercel.js @@ -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' + }) } };