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:
Michel de Graaf
2026-07-24 23:59:30 +02:00
parent f60aaac0a8
commit 4c332de583
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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, '&amp;').replace(/"/g, '&quot;').replace(/</g, '&lt;')
+1 -1
View File
@@ -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/'