File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed
Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,13 @@ const config = {
99 preprocess : vitePreprocess ( ) ,
1010
1111 kit : {
12- // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
13- // If your environment is not supported or you settled on a specific environment, switch out the adapter.
14- // See https://kit.svelte.dev/docs/adapters for more information about adapters.
12+ // See:
13+ // https://svelte.dev/docs/kit/adapter-vercel
1514 adapter : adapter ( {
16- // See: https://vercel.com/docs/edge-network/regions
15+ runtime : 'nodejs22.x' ,
1716 regions : [ 'hnd1' ] , // Tokyo, Japan.
17+ memory : 3008 , // To avoid OOM errors on /workbooks/{slug}
18+ maxDuration : 30 ,
1819 } ) ,
1920 // See:
2021 // https://kit.svelte.dev/docs/configuration#alias
Original file line number Diff line number Diff line change 11{
22 "git" : {
33 "deploymentEnabled" : false
4- },
5- "functions" : {
6- ".svelte-kit/**/*.js" : {
7- "memory" : 3008 ,
8- "maxDuration" : 30
9- }
10- },
11- "regions" : [" hnd1" ]
4+ }
125}
You can’t perform that action at this time.
0 commit comments