Change og:image property on head add main cover image

This commit is contained in:
thiloho
2023-05-25 11:46:38 +02:00
parent 37a4d6a625
commit 133ea165da

View File

@@ -1,7 +1,7 @@
---
const { title, description, ogImage = "" } = Astro.props;
const imageUrl = ogImage.replace("localhost:3000", "aurora.thilohohlt.com");
const imageUrl = "https://aurora.thilohohlt.com" + ogImage;
---
<head>