Relative path in dev incorrectly translated in staging

You could use it like this for production: process.env.PUBLIC_URL + '/images/logo-white.svg'

You can find the detailed documentation on when and how to use the public folder in the React docs

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top