import getProvider from './getProvider.js';

const PROVIDER = getProvider();

export default function getFileUrl(image: any) {
  if (!image) return '';

  return PROVIDER ? PROVIDER.gallery.getFileUrl(image) : '';
}
