Skip to content

Commit

Permalink
Updated gitignore and config for vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
Yureien committed Sep 11, 2023
1 parent a19147e commit ead7758
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ node_modules
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
.vercel
4 changes: 2 additions & 2 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import adapter from '@sveltejs/adapter-vercel';
import { vitePreprocess } from '@sveltejs/kit/vite';

/** @type {import('@sveltejs/adapter-vercel').Config} */
export const config = {
export const adapterConfig = {
runtime: 'nodejs18.x',
regions: ['sin1'],
memory: 512
Expand All @@ -18,7 +18,7 @@ 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(adapterConfig),
alias: {
'@db': './src/lib/server/prisma/prisma.ts'
}
Expand Down

0 comments on commit ead7758

Please sign in to comment.