Open sverhoeven opened 7 years ago
Now there is a single node and a single url that shows the ui of that node.
The want to have multiple nodes, each have it's own url. The urls will be relative to the index.html, eg /LigandsAndProteinsViewer . This means that Jetty should return the contents of index.html when a url is not found as static file or some rest resource. See http://stackoverflow.com/questions/34245969/jetty-custom-error-pages-when-running-as-embedded-server for solution.
See https://github.com/ReactTraining/react-router/blob/master/docs/guides/Histories.md#configuring-your-server
Now there is a single node and a single url that shows the ui of that node.
The want to have multiple nodes, each have it's own url. The urls will be relative to the index.html, eg /LigandsAndProteinsViewer . This means that Jetty should return the contents of index.html when a url is not found as static file or some rest resource. See http://stackoverflow.com/questions/34245969/jetty-custom-error-pages-when-running-as-embedded-server for solution.