Skip to content

Check for index.html when serving directories #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2014

Conversation

ampedandwired
Copy link
Contributor

I'm generating an index.html webpack asset using the html-webpack-plugin, but this doesn't get served by the middleware unless you give the full path. This PR allows index.html to be served as the directory default if it exists.

sokra added a commit that referenced this pull request Aug 19, 2014
Check for index.html when serving directories
@sokra sokra merged commit b5efecb into webpack:master Aug 19, 2014
@sokra
Copy link
Member

sokra commented Aug 19, 2014

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants