تحديث data/site-config.ts

This commit is contained in:
2026-05-03 14:25:11 +00:00
parent e6f1c6670b
commit b21ee1c7da
+2 -2
View File
@@ -1,8 +1,8 @@
const FALLBACK_SITE_URL = "https://grace-salamoun-architect.vercel.app";
const FALLBACK_SITE_URL = "https://www.gracesalmoun.com";
export const siteName = "Grace Salmoun Portfolio";
export const siteUrl = (process.env.NEXT_PUBLIC_SITE_URL ?? FALLBACK_SITE_URL).replace(/\/+$/, "");
export function absoluteUrl(path = "/") {
return new URL(path, `${siteUrl}/`).toString();
}
}