connect-history-api-fallback ignore certain routes

connect-history-api-fallback ignore certain routes

For example, if the route /file needs to be handled by express and not the single page application:

app.use(history({
  rewrites: [
    { from: '/file', to: '/file'}
  ]
}));