hi, I use pushstate-server to server my spa created by create-react-app. On my server I am using forever to make the spa keep running
forever start -c "pushstate-server ./ 4000" ./
But I run into a problem, I can't direct access sub route (using react-router 3), when I directly access url such as http://192.168.1.90:4000/passengers, I will get this error
hi, I use pushstate-server to server my spa created by create-react-app. On my server I am using forever to make the spa keep running
But I run into a problem, I can't direct access sub route (using react-router 3), when I directly access url such as http://192.168.1.90:4000/passengers, I will get this error
Without foreverjs or visit through http://192.168.1.90:4000 is fine.