Allow index.html to be served from file protocol (#2219)
Allow index.html to be served from file protocol (#2219)

* Allow index.html to be served from file protocol.

* Updated to use React matchPath method, added supporting comment.

danielfarrell/gatsby,ChristopherBiscardi/gatsby,gatsbyjs/gatsby,0x80/gatsby,mickeyreiss/gatsby,danielfarrell/gatsby,mickeyreiss/gatsby,mingaldrichgan/gatsby,fabrictech/gatsby,ChristopherBiscardi/gatsby,gatsbyjs/gatsby,0x80/gatsby,fk/gatsby,ChristopherBiscardi/gatsby,danielfarrell/gatsby,gatsbyjs/gatsby,Khaledgarbaya/gatsby,fabrictech/gatsby,fk/gatsby,ChristopherBiscardi/gatsby,Khaledgarbaya/gatsby,mingaldrichgan/gatsby,fabrictech/gatsby,mingaldrichgan/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,fk/gatsby,mickeyreiss/gatsby,gatsbyjs/gatsby,0x80/gatsby,Khaledgarbaya/gatsby