Help - Angular13 -> SSR(angular-universal)

143 views
Skip to first unread message

nikhil ponaganti

unread,
Dec 9, 2022, 6:02:26 AM12/9/22
to Angular and AngularJS discussion
Hi All,

I am from Nikhil from India. I am facing a problem, where I need to dynamically render the data from the server side

Problem statement

https://marketplace.ofofo.io/dashboard This is my application marketplace which is hosted in an S3 bucket recently we have migrated to EC2 (https://test-marketplace.ofofo.io) and have done port mapping to check if we are getting meta tags dynamically

we are able to get the dynamic response for meta tags in the browser but when we are trying to share the link in any social media platform the default static meta tags are displayed in the link preview to be more detailed try sharing the link and you see the default metatag data but when we are shifting to individual product pages the title gets updated in the browser

now I have tried SSR server-side rending using https://angular.io/guide/universN then my build is getting failed with an undefined error. the SSR was working fine for a sample new project
image.png

Looking forward if you can help me out with any alternate solution or resolving the build error.

Thanks in advance
Reply all
Reply to author
Forward
Message has been deleted
0 new messages