Hoang Thi Hien


50 Experience
0 Lessons Completed
0 Questions Solved


I am using event.target.innerHTML = <img src="/assets/Answer_${draggableElementBrand}.png"> to add element when a action is triggered. It works well in development but when I deploy it in Production, it's failed to load the image's path because the correct image's path is hashed. Do you have any idea or trick to get the correct path in this case? I am using Rails with ESbuild. Thank you so much.