ganatan / angular-app

Angular 18 ,Bootstrap 5, Node.js, Express.js, CRUD, PWA, SSR, SEO, Lazy Loading, Examples Angular & React nrwl
647 stars 315 forks source link

SSR rendering not working for https #13

Closed prindacerk closed 3 years ago

prindacerk commented 3 years ago

I am using your project as a starting template for my web app.

One thing I noticed during your source code is that the https is not serving the webpage content from server side. If I access the url as http, I can see the server side rendered content of the page in view source.

But if I try to do the same via https, I can't see the source. The content is being loaded only in client side. This also affects SEO because the title/description are all not there in https.

Do you have any suggestion on how I can rectify this issue? Would be great if you can include that solution option.

mshenawy commented 3 years ago

Why SSR is not working ?

prindacerk commented 3 years ago

I cannot identify the reason why https is not working. It works fine in http.

prindacerk commented 3 years ago

This seems to be fine now. Working in the current version. Can close this.