2
0

👷 (vercel) Increase max execution duration for webhooks

This commit is contained in:
Baptiste Arnaud
2023-09-22 08:47:01 +02:00
parent bad415ae1f
commit 8f4e5b5d63
2 changed files with 12 additions and 2 deletions

View File

@ -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"
}
]

10
apps/viewer/vercel.json Normal file
View File

@ -0,0 +1,10 @@
{
"functions": {
"src/pages/api/v1/[...trpc].ts": {
"maxDuration": 150
},
"src/pages/api/typebots/[typebotId]/blocks/[blockId]/executeWebhook.ts": {
"maxDuration": 150
}
}
}