A
A
Akmal Islamov2019-10-25 16:38:36
React
Akmal Islamov, 2019-10-25 16:38:36

Breaking image paths in ReactJS in production?

Hello, I wrote a site on ReactJS for development, everything is fine, but for production, the paths to the pictures break. And pictures from subpages break, but on the main page everything is fine. I'm using react-router there. How can this be fixed?
teplichnoe.net
file structure
index.html
{js files}
static -
|- css
|- js
| -media-
|- pictures

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question