From fcdd05ffa42e93f517c22a7f72e756bcffab1b09 Mon Sep 17 00:00:00 2001 From: Alec Chen <93971719+0xAlec@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:07:42 -0400 Subject: [PATCH] try `VERCEL_ENV` --- playground/nextjs-app-router/lib/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/nextjs-app-router/lib/constants.ts b/playground/nextjs-app-router/lib/constants.ts index 5bc4ed6379..822087f2d2 100644 --- a/playground/nextjs-app-router/lib/constants.ts +++ b/playground/nextjs-app-router/lib/constants.ts @@ -18,5 +18,5 @@ type EnvironmentKey = (typeof ENVIRONMENT)[keyof typeof ENVIRONMENT]; export const ENVARS: Record = { [ENVIRONMENT.API_KEY]: process.env.NEXT_PUBLIC_OCK_API_KEY, - [ENVIRONMENT.ENVIRONMENT]: process.env.NEXT_PUBLIC_VERCEL_ENV, + [ENVIRONMENT.ENVIRONMENT]: process.env.VERCEL_ENV, };