Skip to content

Commit

Permalink
👷 (vercel) Increase max execution duration for webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno authored and jmgoncalves97 committed Jan 17, 2025
1 parent 51606b8 commit 6650d8b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/docs/vercel.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"rewrites": [
{
"source": "/self-hosting/configuration",
"source": "/self-hosting/configuration/builder",
"destination": "/self-hosting/configuration"
},
{
"source": "/self-hosting/configuration/:path*",
"source": "/self-hosting/configuration/viewer",
"destination": "/self-hosting/configuration"
}
]
Expand Down
10 changes: 10 additions & 0 deletions apps/viewer/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"functions": {
"src/pages/api/v1/[...trpc].ts": {
"maxDuration": 150
},
"src/pages/api/typebots/[typebotId]/blocks/[blockId]/executeWebhook.ts": {
"maxDuration": 150
}
}
}

0 comments on commit 6650d8b

Please sign in to comment.