👷 (vercel) Increase max execution duration for webhooks
This commit is contained in:
@ -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
10
apps/viewer/vercel.json
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user