We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
format
extensions
If we have the file structure below
/hello /hello.html /hello/index.html
with options
{ index: 'index.html', extensions: ['.html'] }
The text was updated successfully, but these errors were encountered:
@coderhaoxin Hmmm after first look I found out that:
GET /hello: /hello.html is served (which in my opinion is correct but I would like to hear yours)
GET /hello
/hello.html
GET /hello.html: hello.html is served (expected) even if options is set to:
GET /hello.html
hello.html
{ index: 'index.html', extensions: ['.txt', '.html'] }
GET /hello/
index.html
If all is ok then I can push tests for these cases.
Sorry, something went wrong.
extensions option
No branches or pull requests
If we have the file structure below
with options
The text was updated successfully, but these errors were encountered: