feat : add sitemao and some SEO
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user