File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ export function createMetadata(override: Metadata): Metadata {
66 openGraph : {
77 title : override . title ?? undefined ,
88 description : override . description ?? undefined ,
9- url : baseUrl ,
109 images : '/twitter-card.png' ,
1110 siteName : 'nextjs.im' ,
1211 ...override . openGraph ,
@@ -23,6 +22,7 @@ export function createMetadata(override: Metadata): Metadata {
2322}
2423
2524export const baseUrl =
26- process . env . NODE_ENV === 'development' || ! process . env . VERCEL_URL
25+ process . env . NODE_ENV === 'development' ||
26+ ! process . env . VERCEL_PROJECT_PRODUCTION_URL
2727 ? new URL ( 'http://localhost:3000' )
28- : new URL ( `https://${ process . env . VERCEL_URL } ` ) ;
28+ : new URL ( `https://${ process . env . VERCEL_PROJECT_PRODUCTION_URL } ` ) ;
You can’t perform that action at this time.
0 commit comments