Skip to content

Commit

Permalink
chore: print all env vars in case we can't find BACKEND_UI for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
asaf committed Jul 26, 2024
1 parent 3ef47f2 commit b71b990
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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, {});
Expand Down

0 comments on commit b71b990

Please sign in to comment.