From 11f39285253c486e2c5e8107c7b93cda98bee171 Mon Sep 17 00:00:00 2001 From: Michael Zetterberg Date: Fri, 17 May 2024 15:32:01 +0200 Subject: [PATCH] chore(debug): envs in api functions --- app/api/web/envtest/route.ts | 2 ++ next.config.js | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/web/envtest/route.ts b/app/api/web/envtest/route.ts index 53a7a434f..3b61b915f 100644 --- a/app/api/web/envtest/route.ts +++ b/app/api/web/envtest/route.ts @@ -22,3 +22,5 @@ export async function GET(request: NextRequest) { return NextResponse.json(values) } + +export const dynamic = "force-dynamic" diff --git a/next.config.js b/next.config.js index 6417d4377..2b2545b73 100644 --- a/next.config.js +++ b/next.config.js @@ -114,6 +114,4 @@ const nextConfig = { }, } -console.log({ config_ENVS: nextConfig.env }) - export default nextConfig