const getAssetURL = (image: string) => { return new URL(`${image}`, import.meta.url).href; }; export default getAssetURL