Skip to content

Commit db323ec

Browse files
committed
fix preview
1 parent 02e72d3 commit db323ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/web/src/lib/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import dynamic from 'next/dynamic';
33
export const baseURL = (() => {
44
// Preview deployments
55
if (process.env.VERCEL_ENV === 'preview') {
6+
return 'http://localhost:3000';
67
return `https://${process.env.VERCEL_BRANCH_URL}`;
78
}
89

0 commit comments

Comments
 (0)