mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
feat: update webhook handling and triggering
This commit is contained in:
12
apps/web/src/pages/api/webhook/trigger.ts
Normal file
12
apps/web/src/pages/api/webhook/trigger.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { handlerTriggerWebhooks } from '@documenso/lib/server-only/webhooks/trigger/handler';
|
||||
|
||||
export const config = {
|
||||
maxDuration: 300,
|
||||
api: {
|
||||
bodyParser: {
|
||||
sizeLimit: '50mb',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default handlerTriggerWebhooks;
|
||||
Reference in New Issue
Block a user