Skip to content

Commit 51a9871

Browse files
committed
fix preview
1 parent 4f2f69b commit 51a9871

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

apps/web/src/lib/constants.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import dynamic from 'next/dynamic';
22

33
export const baseURL = (() => {
4-
// Preview deployments
5-
if (process.env.VERCEL_ENV === 'preview') {
6-
return `https://${process.env.VERCEL_BRANCH_URL}`;
7-
}
8-
94
// Production URL
105
if (process.env.NEXT_PUBLIC_VERCEL_URL) {
116
return `https://${process.env.NEXT_PUBLIC_VERCEL_URL}`;

0 commit comments

Comments
 (0)