From a929e3e484cf5e2818b2e50811a933cbf923dc39 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Tue, 2 Jan 2024 17:37:19 +0100 Subject: [PATCH] fix: do not prerender webhook endpoint --- src/pages/api/webhook.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/api/webhook.ts b/src/pages/api/webhook.ts index 0562bd9..6b2c1b8 100644 --- a/src/pages/api/webhook.ts +++ b/src/pages/api/webhook.ts @@ -1,5 +1,7 @@ import { exec } from 'child_process'; +export const prerender = false; + let isBuildInProgress = false; export async function POST({ request }: { request: Request }): Promise {