Skip to content
  • Thomas Sibley's avatar
    Refactor the static middleware wrapping into a method to enable reuse · 16206c9e
    Thomas Sibley authored
    The StaticWrap method functions somewhat like our own little ad-hoc
    middleware, hence the "wrap" moniker.  Producing a standalone static app
    would require using the builder's mount function, and that removes the
    ability of @StaticRoots config definitions to serve paths outside of
    m{^/static/}.
    16206c9e