I am facing an issue related to angular routing on server. I use URL without having hash(#) symbol in it. Withhash: https://localhost:4200/#/activity-details/818659/false Withouthash: https://localhost:4200/activity-details/818659/false
Its works locally fine, but after deployment on node server it show me error 'Cannot GET /activity-details/818659/false'
with hash it work fine but i want to do this without hash in url.
without hash i am using: imports: [RouterModule.forRoot(routes)]
with hash i was using imports: [RouterModule.forRoot(routes),{usehash: true}],
Is it handle on server side? how? Is it handle in routing? how?