We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a258674 commit 72f4a6cCopy full SHA for 72f4a6c
apps/dashboard/src/@/constants/env.ts
@@ -38,7 +38,8 @@ export function getAbsoluteUrlFromPath(path: string) {
38
const url = new URL(
39
isProd
40
? "https://thirdweb.com"
41
- : process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL || "https://thirdweb-dev.com",
+ : `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL}` ||
42
+ "https://thirdweb-dev.com",
43
);
44
45
url.pathname = path;
0 commit comments