fix(website): point canonical and og:url at the custom Pages domain
GitHub Pages serves this account's project sites from re-invention.nl, not michel.github.io, so every prerendered page was advertising a host that does not serve it.
This commit is contained in:
+2
-2
@@ -23,8 +23,8 @@
|
||||
content="A Soulseek client and protocol library for Rust. Search, share, browse, and chat from your terminal."
|
||||
/>
|
||||
<!-- og:url and canonical are rewritten per route by scripts/prerender.ts. -->
|
||||
<meta property="og:url" content="https://michel.github.io/soulseek-rs/" />
|
||||
<link rel="canonical" href="https://michel.github.io/soulseek-rs/" />
|
||||
<meta property="og:url" content="https://re-invention.nl/soulseek-rs/" />
|
||||
<link rel="canonical" href="https://re-invention.nl/soulseek-rs/" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
|
||||
<!-- IBM Plex Mono is the brand typeface. CDN rather than self-hosted
|
||||
|
||||
@@ -25,7 +25,7 @@ const { render } = (await import(SSR_ENTRY)) as {
|
||||
|
||||
const DIST = join(import.meta.dirname, '..', 'dist')
|
||||
|
||||
const SITE_URL = 'https://michel.github.io/soulseek-rs/'
|
||||
const SITE_URL = 'https://re-invention.nl/soulseek-rs/'
|
||||
|
||||
const escapeAttr = (value: string): string =>
|
||||
value.replace(/&/g, '&').replace(/"/g, '"').replace(/</g, '<')
|
||||
|
||||
@@ -19,4 +19,4 @@ export const LINKS = {
|
||||
export const VERSION = __APP_VERSION__
|
||||
|
||||
/** Where the site is served from. Used for canonical and og:url. */
|
||||
export const SITE_URL = 'https://michel.github.io/soulseek-rs/'
|
||||
export const SITE_URL = 'https://re-invention.nl/soulseek-rs/'
|
||||
|
||||
Reference in New Issue
Block a user