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

Add more options #2

Open
1 of 3 tasks
jakobbouchard opened this issue Jul 12, 2022 · 1 comment
Open
1 of 3 tasks

Add more options #2

jakobbouchard opened this issue Jul 12, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jakobbouchard
Copy link
Owner

jakobbouchard commented Jul 12, 2022

Non-exhaustive list of options to add (mostly from serve-static)

  • dotfiles
  • acceptRanges
  • lastModified

Options that are not considered or a not priority:

  • cacheControl, immutable, maxAge: You can set those easily with a header.
  • extensions: Not considered, I'm not doing pretty URLs, only static files.
  • fallthrough: Not really possible with the way things are currently, except for maybe with Bao.js.
@jakobbouchard jakobbouchard added the enhancement New feature or request label Jul 12, 2022
@jakobbouchard jakobbouchard self-assigned this Jul 12, 2022
@jakobbouchard
Copy link
Owner Author

dotfiles has been added in version 0.2.0

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

No branches or pull requests

1 participant