From 75776e6d8feea52b59bc095f2c42ef1c6a5fe513 Mon Sep 17 00:00:00 2001 From: BennyKok Date: Mon, 1 Jan 2024 01:48:56 +0800 Subject: [PATCH] fix(api): force-dynamic for get run and run --- web/src/app/(app)/api/run/route.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/app/(app)/api/run/route.ts b/web/src/app/(app)/api/run/route.ts index 7b7372f..8d54482 100644 --- a/web/src/app/(app)/api/run/route.ts +++ b/web/src/app/(app)/api/run/route.ts @@ -10,6 +10,8 @@ import { eq } from "drizzle-orm"; import { NextResponse } from "next/server"; import { z } from "zod"; +export const dynamic = "force-dynamic"; + const Request = z.object({ deployment_id: z.string(), inputs: z.record(z.string()).optional(),