From ccc386a6df66e9cd2115b54899c310848b0f11d6 Mon Sep 17 00:00:00 2001 From: Gabe Rodriguez Date: Mon, 4 Nov 2024 10:39:16 -0800 Subject: [PATCH] Make env route dynamic --- app/api/env/route.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/api/env/route.ts b/app/api/env/route.ts index c8906f16..00fdd828 100644 --- a/app/api/env/route.ts +++ b/app/api/env/route.ts @@ -1 +1,4 @@ export { GET } from '@/shared/api/server/env'; + +// Prevents static generation of API route result at build time +export const dynamic = 'force-dynamic';