You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
Describe the bug
After setting
"homepage": "./react/build"
in package.json, all paths are set correctly (css, js) but media still points to '/static/media'.Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
Adding Images, Fonts, and Files,
Deployment
Environment
Ubuntu 19.04, node 12.13.0, npm 6.14, create-react-app 3.4.1
Steps to reproduce
Expected behavior
Media files are linked relative to homepage URL
Actual behavior
Media files are linked relative to root folder
Workaround
Adjust all media paths in main.chunk.js file
The text was updated successfully, but these errors were encountered: