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

Handle alternative paths the same way as when deployed #70

Merged
merged 1 commit into from
Apr 4, 2019

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 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.

1 participant