File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ export function getUrl() {
33 return process . env . NEXT_PUBLIC_URL ;
44 }
55
6- if ( process . env . VERCEL_TARGET_ENV === "preview" ) {
7- return `https://${ process . env . VERCEL_URL } ` ;
6+ if ( process . env . NEXT_PUBLIC_VERCEL_TARGET_ENV === "preview" ) {
7+ return `https://${ process . env . NEXT_PUBLIC_VERCEL_URL } ` ;
88 }
99
1010 return "http://localhost:3001" ;
Original file line number Diff line number Diff line change 3434 " SLACK_CLIENT_SECRET" ,
3535 " SLACK_CLIENT_ID" ,
3636 " SLACK_SIGNING_SECRET" ,
37- " NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL" ,
3837 " GMAIL_CLIENT_ID" ,
3938 " GMAIL_CLIENT_SECRET" ,
4039 " GMAIL_REDIRECT_URI" ,
4342 " OUTLOOK_REDIRECT_URI" ,
4443 " MIDDAY_ENCRYPTION_KEY" ,
4544 " NEXT_PUBLIC_URL" ,
46- " VERCEL_TARGET_ENV"
45+ " NEXT_PUBLIC_VERCEL_TARGET_ENV" ,
46+ " NEXT_PUBLIC_VERCEL_URL"
4747 ],
4848 "inputs" : [" $TURBO_DEFAULT$" , " .env" ],
4949 "dependsOn" : [" ^build" ],
You can’t perform that action at this time.
0 commit comments