const CDN_BASE_URL = process.env.NEXT_PUBLIC_CDN_URL || "https://cdn.goodbrick.com.ua"; export function cdnUrl(path: string): string { return `${CDN_BASE_URL.replace(/\/+$/, "")}/${path.replace(/^\/+/, "")}`; }