After running Create React App's npm run build, the created index.html looks like this:
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>React App</title><link rel="shortcut icon" href="/favicon.ico"><link href="/main.e606e04b6e0092a87205a9dc4662479c.css" rel="stylesheet"></head><body><div id="root"></div><script type="text/javascript" src="/main.35180d284d8a2058f717.js"></script></body></html>
Both, script and link src/href-attributes, point to the wrong direction. The leading / should be removed, because all generated files are in the same directory. Is this a bug or can I configure these paths somehow?