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

Revamp file serving module #658

Merged
merged 5 commits into from
Jan 17, 2017
Merged

Revamp file serving module #658

merged 5 commits into from
Jan 17, 2017

Conversation

alpmestan
Copy link
Contributor

No description provided.

@alpmestan
Copy link
Contributor Author

This addresses #657.

@phadej phadej added this to the 0.10 milestone Jan 17, 2017
Instead of only exposing 'serveDirectory', which picks a specific static file
serving strategy (file server settings), we now expose 4 different variants each
corresponding to an variant of StaticSettings in wai-app-static.

In addition to these, we expose a more flexible 'serveDirectoryWith' function
which allows the user to specify some arbitrary StaticSettings, if the 4
existing variants do not cover a user's needs.
@phadej
Copy link
Contributor

phadej commented Jan 17, 2017

rebased, will merge after travis is green

@phadej phadej merged commit cce0f59 into master Jan 17, 2017
@alpmestan alpmestan deleted the file-serving branch June 19, 2018 19:54
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.

3 participants