1 min readMay 1, 2020
I think that maybe you have not ran a production build. Dist folder created by ng build & ng build —prod has a different structure. Can you check out the structure of your dist folder? It should be like this ‘dist/name-of-your-repo/index.html