Hi, i am building a react app with a node backend. I have a homepage route which sends the index.html file. This app works fine when the user goes to host/. However when the user goes to something like host/profile. The app stops working. I guess this is because the index.html file isn't sent to him. Is there a way to have an app.get for all routes which would send the index.html file. Is there a better solution?Thanks in advance ;)
Submitted December 16, 2018 at 10:04AM by everek123
No comments:
Post a Comment