Skip to content

Commit d618008

Browse files
author
Alex Patterson
committed
add log of domains
1 parent e4904a0 commit d618008

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎lib/utils.ts‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ export const unpluralize = (_type: string) => {
2222
};
2323

2424
export const publicURL = () => {
25+
26+
console.debug(process.env.NEXT_PUBLIC_VERCEL_ENV)
27+
console.debug(process.env.NEXT_PUBLIC_VERCEL_URL)
28+
console.debug(process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL)
29+
console.debug(process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL)
30+
2531
return process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL
2632
? "https://" + process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL
2733
: "http://localhost:3000";
28-
};
34+
};

0 commit comments

Comments
 (0)