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
With a little change in the .htaccess file i managed to fixed this problem.
.htaccess
I changed some lines from https://angular.io/guide/deployment#fallback to the following:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ index.html