Skip to content

Commit 4e73382

Browse files
committed
adapter vercel
1 parent 49dff40 commit 4e73382

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@fontsource/fira-mono": "^4.5.0",
1515
"@neoconfetti/svelte": "^1.0.0",
1616
"@sveltejs/adapter-auto": "next",
17+
"@sveltejs/adapter-vercel": "1.0.0-next.84",
1718
"@sveltejs/kit": "next",
1819
"@types/cookie": "^0.5.1",
1920
"@typescript-eslint/eslint-plugin": "^5.27.0",

svelte.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import adapter from '@sveltejs/adapter-auto';
1+
import adapter from '@sveltejs/adapter-vercel';
22
import preprocess from 'svelte-preprocess';
33

44
/** @type {import('@sveltejs/kit').Config} */
@@ -8,7 +8,7 @@ const config = {
88
preprocess: preprocess(),
99

1010
kit: {
11-
adapter: adapter()
11+
adapter: adapter({ edge: true })
1212
},
1313
preprocess: [
1414
preprocess({

0 commit comments

Comments
 (0)