This commit is contained in:
@@ -7,6 +7,7 @@ type Card = {
|
||||
};
|
||||
|
||||
export const siteConfig = {
|
||||
siteUrl: "https://atash.dev",
|
||||
name: "Atash Consulting",
|
||||
description: "Independent Software Consulting based in Edmonton, Alberta",
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ const resolvedOgImage = ogImage || {
|
||||
alt: "Atash Consulting",
|
||||
};
|
||||
|
||||
const siteUrl = Astro.url.href;
|
||||
const siteUrl = siteConfig.siteUrl || Astro.url.href;
|
||||
const resolvedOgImageUrl = new URL(resolvedOgImage.url, siteUrl).href;
|
||||
|
||||
const isProd = import.meta.env.PROD;
|
||||
|
||||
Reference in New Issue
Block a user