From 9b1167891b01768d2ba6ae8c58d2669e68c895d2 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Mon, 15 Apr 2024 12:19:10 -0300 Subject: [PATCH] test fixing the OG manual image link --- docs/src/modules/components/TopLayoutBlog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/modules/components/TopLayoutBlog.js b/docs/src/modules/components/TopLayoutBlog.js index 30d62d76e7f547..2613792305ae93 100644 --- a/docs/src/modules/components/TopLayoutBlog.js +++ b/docs/src/modules/components/TopLayoutBlog.js @@ -289,7 +289,7 @@ export default function TopLayoutBlog(props) { const { canonicalAsServer } = pathnameToLanguage(router.asPath); const card = headers.manualCard === 'true' - ? `https://mui.com/static/blog/${slug}/card.png` + ? `/static/blog/${slug}/card.png` : `/edge-functions/og-image/?title=${headers.cardTitle || finalTitle}&authors=${headers.authors .map((author) => { const { github, name } = authors[author];