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 PathPrefix parameter to filesystem middleware #1326

Merged
merged 1 commit into from
May 12, 2021
Merged

🔥 Add PathPrefix parameter to filesystem middleware #1326

merged 1 commit into from
May 12, 2021

Commits on May 9, 2021

  1. 🔥 Add PathPrefix parameter to filesystem middleware

    See #1308
    
    This adds a parameter called `PathPrefix` to `filesystem.Config`
    that is prepended to any filepath being read from
    `filesystem.Root`.
    
    Intended to be used with Go 1.16's `embed.FS` type.
    
    Signed-off-by: Tom <tom@tdpain.net>
    codemicro committed May 9, 2021
    Configuration menu
    Copy the full SHA
    fb71057 View commit details
    Browse the repository at this point in the history