export const API_URL = process.env.REACT_APP_API_URL || "http://localhost:8080"; export function getImageUrl(filename) { if (!filename) return null; if (filename.startsWith("http")) return filename; if (filename.startsWith("/")) return `${API_URL}${filename}`; return `${API_URL}/api/v1/files/${filename}?presigned=true`; } export const SUPPORT_EMAIL = process.env.REACT_APP_SUPPORT_EMAIL || "support@nakhodka.app";