Skip to content

Commit 9995090

Browse files
committed
Use Vercel URL from the build environment for absolute URLs
1 parent 39599fc commit 9995090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Meta.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function Meta({ pageTitle, pageDescription, pageImage }) {
2121
<meta property='fb:admins' content='825782113' />
2222
<meta
2323
property='og:image'
24-
content={`https://www.opentechschool.org${pageImage ||
24+
content={`${process.env.NOW_URL || ''}${pageImage ||
2525
'/sharing-images/website-into-sharing.png'}`}
2626
/>
2727
<meta name='twitter:card' content='summary_large_image' />

0 commit comments

Comments
 (0)