DEV Community

Discussion on: How to Deploy Angular Universal to Vercel

Collapse
 
panesarpbx8 profile image
Sukhpreet Singh

Thanks for sharing this man! this is helpful

but one problem I am facing is my app is not server-rendered.

the home url is working but only the static version (with cookies disabled)
but any other url is taking more than 10 seconds to respond, resulting in 504 function timeout error.

could you please help my out?
Thanks

Collapse
 
jdgamble555 profile image
Jonathan Gamble

You may have a loop in your code. Make sure to test it with npm run dev:ssr first. Usually it is a login code that should only be ran on the frontend.