alexmingoia / pux-starter-app

Starter Pux app w/ hot-reloading and isomorphic routing and rendering
https://www.purescript-pux.org
BSD 3-Clause "New" or "Revised" License
101 stars 39 forks source link

Add the connect-history-api-fallback middleware for the dev server #17

Closed lexi-lambda closed 8 years ago

lexi-lambda commented 8 years ago

This middleware automatically redirects HTTP requests to non-file paths to the index.html file, which allows the client-side router to handle routing those requests instead of simply getting a 404 from the server.