export const SITE_NAME = 'MercadoDeVida'; export const SITE_URL = (process.env.NEXT_PUBLIC_SITE_URL ?? 'http://localhost:3001').replace( /\/$/, '', ); export function absoluteUrl(path: string): string { return `${SITE_URL}${path.startsWith('/') ? path : `/${path}`}`; } export function metadataTitle(title: string): string { return `${title} | ${SITE_NAME}`; }