Domain update

This commit is contained in:
Greg Kilmer
2026-07-04 19:13:54 -04:00
parent 2e20faa4a8
commit 7c2d3080bc
10 changed files with 160 additions and 110 deletions
+3 -3
View File
@@ -53,13 +53,13 @@ const fullTitle = title
const canonical = new URL(
Astro.url.pathname,
Astro.site ?? "https://patiun.com",
Astro.site ?? "https://gregkilmer.com",
);
const ogImageUrl = ogImage
? new URL(ogImage, Astro.site ?? "https://patiun.com").toString()
? new URL(ogImage, Astro.site ?? "https://gregkilmer.com").toString()
: new URL(
"/images/hero-portrait.jpg",
Astro.site ?? "https://patiun.com",
Astro.site ?? "https://gregkilmer.com",
).toString();
---
+1 -1
View File
@@ -29,7 +29,7 @@ export const siteIdentity = {
/** Spec tagline; appears beside the logo. */
tagline: 'Developer. Maker. Storyteller.',
/** Spec domain. */
domain: 'patiun.com',
domain: 'gregkilmer.com',
} as const;
/**
+4 -4
View File
@@ -121,16 +121,16 @@ async function deliver(msg: Message): Promise<boolean> {
});
const hostname = (() => {
try {
return new URL(process.env.SITE_URL ?? 'https://patiun.com').hostname;
return new URL(process.env.SITE_URL ?? 'https://gregkilmer.com').hostname;
} catch {
return 'patiun.com';
return 'gregkilmer.com';
}
})();
await transport.sendMail({
from: process.env.SMTP_FROM ?? `Greg's Site <no-reply@${hostname}>`,
to: process.env.CONTACT_TO ?? 'greg@patiun.com',
to: process.env.CONTACT_TO ?? 'greg@gregkilmer.com',
replyTo: `${msg.name} <${msg.email}>`,
subject: `New message from ${msg.name} via patiun.com`,
subject: `New message from ${msg.name} via gregkilmer.com`,
text: `Name: ${msg.name}\nEmail: ${msg.email}\n\n${msg.message}`,
});
return true;