/**
 * Cloudinary (or other) image delivery base — set `PUBLIC_IMAGE_BASE_URL` in `.env`
 * (see `.env.example`). Trailing slash is stripped.
 */
const raw = import.meta.env.PUBLIC_IMAGE_BASE_URL;
export const imageBaseUrl =
  typeof raw === 'string' && raw.trim() !== '' ? raw.replace(/\/$/, '') : '';
