Closed
Description
This leads to problems when adding the built react app in a subfolder of a static website (my github.io page is a good example of the use case, the folder /react-range-progress
contains a react app built with create-react-app
, but does not find the assets if I do not change
<script type="text/javascript" src="/static/js/main.36dfbdaf.js">
to:
<script type="text/javascript" src="static/js/main.36dfbdaf.js">
in the first case, the browser will look for the js file in the root folder.