I'm hitting a wall here, so would like to know if someone has any clue for me where to look for debugging this issue (angular ssr)
My application works perfect if I serve it using "@angular-devkit/build-angular:dev-server:ssr-dev-server". When I build my application (prod or dev config) and serve it using node dist/autofeit-frontend/server/server.mjs it works fine too. When I build & deploy my code, I'm facing this weird issue: on refresh, doesn't matter what route there's flickering of the '' route. To make it more clear: I am on /something and I refresh, I see first the component that is at / route for couple of ms and than it goes to /something.
I'm using the latest version of angular and node.js. Any clue where to look on how to debug this? I've already spitted through my deployment script (see underneath), but cannot find any issue with it.