Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Conversation

@biilmann
Copy link
Member

@biilmann biilmann commented Apr 2, 2019

This makes sure netlify dev handles .html/.htm/index.html/index.htm paths
the same way our origin server handles these, independently of the underlying
dev servers handling of pretty URLs etc.

This means a request to /hello will try to fetch /hello.html, /hello.htm, /hello/index.html and /hello/index.htm if /hello returns a 404 from the underlying dev server.

This makes sure netlify dev handles .html/.htm/index.html/index.htm paths
the same way our origin server handles these, independently of the underlying
dev servers handling of pretty URLs etc
@biilmann biilmann force-pushed the alternative-path-handling branch from 3a768bd to e7c9fa4 Compare April 4, 2019 20:16
@biilmann biilmann merged commit 3b129d2 into master Apr 4, 2019
@biilmann biilmann deleted the alternative-path-handling branch April 4, 2019 20:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants