Skip to content

Commit

Permalink
commenting broken url generation code and hardcoding url for now
Browse files Browse the repository at this point in the history
  • Loading branch information
prashant3863 committed Aug 9, 2023
1 parent b5fe1a1 commit 588c15b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/layouts/layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ interface Props {
title: string;
}
const canonicalURL = new URL(Astro.url.pathname, Astro.site).toString();
//const canonicalURL = new URL(Astro.url.pathname, Astro.site);
const resolvedImageWithDomain = new URL(
"/Rolodex_screen.png",
Astro.site
).toString();
//const resolvedImageWithDomain = new URL(
// "/Rolodex_screen.png",
// Astro.url
//);
const { title } = Astro.props;
Expand All @@ -32,13 +32,13 @@ const makeTitle = title
<SEO
title={makeTitle}
description="Local-first Personal Relationship Manager"
canonical={canonicalURL}
canonical={"https://rolodex.shovel.company"}
openGraph={{
basic: {
url: canonicalURL,
url: "https://rolodex.shovel.company",
type: "website",
title: `Rolodex`,
image: resolvedImageWithDomain,
image: "https://rolodex.shovel.comapny/Rolodex_screen.png",
},
image: {
alt: "Rolodex Homepage Screenshot",
Expand Down

0 comments on commit 588c15b

Please sign in to comment.