From b71b990a7f98f379c0cdae10968d8bbe87062bb2 Mon Sep 17 00:00:00 2001 From: Asaf Shakarzy Date: Fri, 26 Jul 2024 13:15:56 +0300 Subject: [PATCH] chore: print all env vars in case we can't find BACKEND_UI for debugging --- src/app/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/page.tsx b/src/app/page.tsx index 333b1dc..d0f9677 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,6 +6,8 @@ export default async function Home() { const url = process.env.BACKEND_URI; if (!url) { json = { error: "BACKEND_URI is not set" }; + // print all env vars + console.log("Env vars:", process.env); } else { try { const resp = await fetch(url, {});