import isDevEnv from "./isDevEnv" export const filePath = (path?: string) => { const imageBaseUrl = isDevEnv() ? import.meta.env.VITE_IMAGE_DEV_PATH : import.meta.env.VITE_APP_PROD_IMAGE if (!path) return "" return imageBaseUrl + path }