I am using rendertron as a solution for server side rendering, below is index.js file. How to execute index.js and where to execute. I have setup my own instance of redertro
Is http://pqr.com/render
your personal rendering server? If not, you have to forward the request to https://render-tron.appspot.com/render
or deploy Rendertron separately yourself.
Also right now you just assign the created express-instance to a constant (const app = express('')
), configure it and export it for firebase (which you don't use). Instead you have to run express yourself on a node.js server.