Skip to content

Commit

Permalink
move to edge
Browse files Browse the repository at this point in the history
  • Loading branch information
xerosanyam committed Jun 6, 2024
1 parent a4dc697 commit a9d7f30
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -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} */
Expand All @@ -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'
})
}
};

Expand Down

0 comments on commit a9d7f30

Please sign in to comment.