The reason the image paths are wrong is because the React stuff (and all the rest of the front-end JS) is being bundled into a single file that the HTML page is getting in a