How to Serve Initial HTML from Backend when Frontend and Backend are on Different Ports (especially for opengraph metatags)?
I’m facing an issue with my web application setup where I have separated my frontend and backend into different ports. The frontend is running on https://localhost:3000, and the backend is running on https://localhost:3001. I’m trying to implement server-side rendering (SSR) to serve the initial HTML from the backend, but I’m having trouble figuring out how to properly route requests from the frontend to the backend.