Closed jaredcwhite closed 2 years ago
As requested in #215, can you please post about this on the Google Group and see if there is community support for this to be included with Roda?
I don't want to keep this in limbo indefinitely. There doesn't seem to be a strong desire from the community to include this with Roda, so I think it's best kept as an external plugin. If you decide to release it as an external plugin, please consider sending a PR to add a link to the external plugin on the website (edit www/pages/documentation.erb).
OK, I probably won't be able to get to it until after finishing up the Bridgetown 1.0 release, but then I'll definitely submit a link for the docs.
Supersedes #215.
makes this work:
And there are options to override the list of extensions checked as well as switch it to prioritize files over folders with an index.
BTW, if you can think of a better name than
pretty_public
I'm all ears. I thought ofextensionless_public
but that's quite a mouthful!P.S. I was hoping to test this working in conjunction with
multi_public
, but that would require a change topublic_path_segments
in the public plugin to accept the specific Rack::File server root.