Description
The getImageUrl() function produces URLs with double slashes (e.g., /assets//image.png) when the assets path ends with /.
Current Behavior
assetsImagesPath.set("/assets/")
getImageUrl("logo.png") // Returns "/assets//logo.png" ❌
Expected Behavior :
assetsImagesPath.set("/assets/")
getImageUrl("logo.png") // Should return "/assets/logo.png" ✅
Description
The
getImageUrl()function produces URLs with double slashes (e.g.,/assets//image.png) when the assets path ends with/.Current Behavior
Expected Behavior :