attempt to make edge functions a tad bit lighter

This commit is contained in:
jake committed 2023-07-06 10:37:51 -04:00
1 parent 2f44d8d227
commit b13c8259b3
17 files changed
+121 -146

No files matched your search

+2 -2
View File
@@ -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}
/>