title: GatsbyJs client only paths goes to 404 page when the url is directly accessed in browser in "production"
body: <p>I have created a Gatsby app and configured <code>gatsby-node.js</code> to a create client only paths, which are all working fine in development while directly accessing the url of the path but not in production.</p>
  
  <p>example : </p>
  
  <pre><code>if(page.path.match(/^\/sample/)){
       page.matchPath = "/sample/:value1/:value2/:value3";
       createPage(page)
    }
  </code></pre>
  
  <p>I am using <code>heroku</code> to deploy the app</p>