mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 07:21:17 -04:00
attempt to make edge functions a tad bit lighter
This commit is contained in:
@@ -32,7 +32,7 @@ const Note = ({ frontMatter, source }: InferGetStaticPropsType<typeof getStaticP
|
||||
},
|
||||
images: [
|
||||
{
|
||||
url: `${config.baseUrl}${frontMatter.image || meJpg.src}`,
|
||||
url: `${process.env.BASE_URL}${frontMatter.image || meJpg.src}`,
|
||||
alt: frontMatter.title,
|
||||
},
|
||||
],
|
||||
@@ -47,7 +47,7 @@ const Note = ({ frontMatter, source }: InferGetStaticPropsType<typeof getStaticP
|
||||
description={frontMatter.description || config.longDescription}
|
||||
datePublished={frontMatter.date}
|
||||
dateModified={frontMatter.date}
|
||||
images={[`${config.baseUrl}${frontMatter.image || meJpg.src}`]}
|
||||
images={[`${process.env.BASE_URL}${frontMatter.image || meJpg.src}`]}
|
||||
{...articleJsonLd}
|
||||
/>
|
||||
|
||||
|
Reference in New Issue
Block a user