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