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

defaultIndex: return 404 + retry index logic #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DeviaVir
Copy link
Contributor

  • This extends the defaultIndex logic to return a 404 for the index.html if it is not found.
  • Additionally, we keep looking for the "defaultIndex.html" file in the URL path, by splitting off the last "/" and keep going up until we find it, or we are at the root (and need to return a 404).

This extends the defaultIndex logic to return a 404 for the index.html if it is not found.
Additionally, we keep looking for the "defaultIndex.html" file in the URL path, by splitting off the last "/" and keep going up until we find it, or we are at the root (and need to return a 404).
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.

1 participant