feat : add sitemao and some SEO
CI / Verify (push) Failing after 47s
CI / Build immutable images and deploy (push) Has been skipped

This commit is contained in:
2026-09-13 15:53:08 +07:00 Unverified
parent f188251082
commit 7c8ecd0915
5 changed files with 33 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
const configuredBaseUrl = process.env.BASE_URL?.trim();
if (!configuredBaseUrl) {
throw new Error("BASE_URL is required for site metadata and sitemaps.");
}
export const siteUrl = new URL(configuredBaseUrl).origin;