Skip to content
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

Respond with error if file/directory is not found #13

Merged
merged 3 commits into from
Jul 6, 2019

Conversation

hadeeb
Copy link
Contributor

@hadeeb hadeeb commented May 25, 2019

closes #3

@sindresorhus
Copy link
Owner

This doesn't exactly solve what the #3 is describing.

* fallback to root index if path has .html extension or no extension
* all other cases respond with file not found error
@sindresorhus
Copy link
Owner

sindresorhus commented Jun 29, 2019

Is this ready to be reviewed again?

@hadeeb
Copy link
Contributor Author

hadeeb commented Jul 5, 2019

Yes

now, test case is passing
@sindresorhus sindresorhus merged commit 8eed33e into sindresorhus:master Jul 6, 2019
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.

Should not fallback to index.html when the non-existent path has an extension
2 participants