tomaka / rouille

Web framework in Rust
Apache License 2.0
1.12k stars 106 forks source link

Feature request: Add support for default index.html #279

Open thesurlydev opened 11 months ago

thesurlydev commented 11 months ago

I'd like to use Rouille with a static site generator and would like to automatically serve index.html by default. For example if / is requested, then serve /index.html or if /foo/bar is requested, then serve /foo/bar/index.html.

Please add support for this. I'd also welcome a workaround solution.

Thanks!