From 935c18cadd8e00ca30f4cc74f68b7ad766ad2e29 Mon Sep 17 00:00:00 2001 From: Aggre Date: Fri, 13 Dec 2024 14:43:05 +0900 Subject: [PATCH] use maxDuration for vercel --- astro.config.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 3eebe7ef..c378b01f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -2,6 +2,7 @@ import { config } from 'dotenv' import { defineConfig } from 'astro/config' import vercel from '@astrojs/vercel/serverless' +// eslint-disable-next-line functional/no-expression-statements config() export default defineConfig({ @@ -9,5 +10,7 @@ export default defineConfig({ port: 3000, }, output: 'server', - adapter: vercel(), + adapter: vercel({ + maxDuration: 300, + }), })