Hello i'm deploying an app in Angular 8, when i work in dev , all works well even the routes but when i run "ng build --prod", it generates the build in /dist and i upload the aplication to the server, the index work fine but when i execute an href to a page (example: /login) i get not found page.
here are my routes
const routes: Routes = [
{ path: '', component: FullIndexComponent },
{ path: 'login', component: FullLoginComponent }
];
this only happens in production build, and i need to upload the build because i am working with cpanel.
thank you