Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ const config = {
preprocess: vitePreprocess(),

kit: {
// 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.
// See:
// https://svelte.dev/docs/kit/adapter-vercel
adapter: adapter({
// See: https://vercel.com/docs/edge-network/regions
runtime: 'nodejs22.x',
regions: ['hnd1'], // Tokyo, Japan.
memory: 3008, // To avoid OOM errors on /workbooks/{slug}
maxDuration: 30,
}),
// See:
// https://kit.svelte.dev/docs/configuration#alias
Expand Down
Loading