I have an Angular app which runs perfectly in my local and production environment.. After a tiny change I made, I ran the app locally and it works fine.. Then I built the pr
It depends on the server, you are using.
For example with Apache, you set the .htaccess file to a relative path on your drive, where your app is located with RewriteBase. Also set the accordingly.
With node, the
app.use(express.static(__dirname + '/dist'));
should go before app.get.
Check also, that the build had no errors and all files were copied to dist.