Skip to content

Commit 62cd79a

Browse files
committed
Add https:// to VERCEL_URL for preview deployments
1 parent 0cc5828 commit 62cd79a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/conf/2025/components/og-images/generic-opengraph-image.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ export function GenericOpengraphImage({
2121
pageTitle,
2222
...rest
2323
}: GenericOpengraphImageProps) {
24-
const basePath = process.env.VERCEL_URL || process.env.__NEXT_PRIVATE_ORIGIN
24+
const basePath =
25+
`https://${process.env.VERCEL_URL}` || process.env.__NEXT_PRIVATE_ORIGIN
26+
2527
const height = 630
2628

2729
return (

0 commit comments

Comments
 (0)