Skip to content

Commit

Permalink
fix max duration
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgill committed Jun 1, 2024
1 parent d5edf99 commit 265d39f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 3 additions & 1 deletion apps/www/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ export default defineConfig({
simpleStackForm(),
],
output: "hybrid",
adapter: vercel(),
adapter: vercel({
maxDuration: 60,
}),
});
5 changes: 0 additions & 5 deletions apps/www/vercel.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"functions": {
"pages/api/chat.ts": {
"maxDuration": 60
}
},
"rewrites": [
{
"source": "/ingest/static/:path(.*)",
Expand Down

0 comments on commit 265d39f

Please sign in to comment.