When accessing front-end SPA-links from browser, back-end fires finding no route
问题 I have a working front-end single-page-application written in JS (ReactJS), and a working back-end in Phoenix (Elixir). Everything works out fine as long as navigation happens within the application. However, when I try to access a page in the SPA from the browser, I get a route error fired from Phoenix. For example: no route found for GET /search (PhoenixApp.Router) is what I get when I access http://localhost:4000/search from the browser. When I access http://localhost:4000/search from the