mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 08:42:12 +10:00
fix: wip
This commit is contained in:
17
apps/remix/app/routes/api+/webhook.trigger.ts
Normal file
17
apps/remix/app/routes/api+/webhook.trigger.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import { handlerTriggerWebhooks } from '@documenso/lib/server-only/webhooks/trigger/handler';
|
||||
|
||||
import type { Route } from './+types/webhook.trigger';
|
||||
|
||||
// Todo
|
||||
// export const config = {
|
||||
// maxDuration: 300,
|
||||
// api: {
|
||||
// bodyParser: {
|
||||
// sizeLimit: '50mb',
|
||||
// },
|
||||
// },
|
||||
// };
|
||||
|
||||
export async function loader({ request }: Route.LoaderArgs) {
|
||||
return handlerTriggerWebhooks(request);
|
||||
}
|
||||
Reference in New Issue
Block a user