Hi there!I'm currently hosting multiples node on the same server.2 of them are ReactJS apps that need to be run on a HTTP server.Right now I'm using Express, and I have an HTTP server for each app.Ex : localhost:2300 => response with static front end files.Is it the right way to do it? Should I create an Express app for each one of my front end app?I tried to use one Express app to host them all on port 80 with different path name, but I get issue with my routing in react. When I open a new page, it should go to localhost/app/new, but it goes to localhpost/new.Thanks!
Submitted January 03, 2019 at 06:57PM by Kardiamond
No comments:
Post a Comment