Skip to content

Commit ead7758

Browse files
committed
Updated gitignore and config for vercel
1 parent a19147e commit ead7758

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ node_modules
88
!.env.example
99
vite.config.js.timestamp-*
1010
vite.config.ts.timestamp-*
11+
.vercel

svelte.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import adapter from '@sveltejs/adapter-vercel';
22
import { vitePreprocess } from '@sveltejs/kit/vite';
33

44
/** @type {import('@sveltejs/adapter-vercel').Config} */
5-
export const config = {
5+
export const adapterConfig = {
66
runtime: 'nodejs18.x',
77
regions: ['sin1'],
88
memory: 512
@@ -18,7 +18,7 @@ const config = {
1818
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
1919
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
2020
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
21-
adapter: adapter(),
21+
adapter: adapter(adapterConfig),
2222
alias: {
2323
'@db': './src/lib/server/prisma/prisma.ts'
2424
}

0 commit comments

Comments
 (0)