Currently, to have a router forward requests for "/" and "/index.html" (and "/js/example.js", etc) to the same handler, I currently have to do something like:
router.get("/", Static::new(Path::new("public")));
router.get("/*", Static::new(Path::new("public"))); // notice the "*"
It would be convenient if I could have both of those redirect to the same handler. For example, this syntax would make sense to me:
router.get("*", Static::new(Path::new("public")));
If there's an option everyone can settle on, I'm happy to take a crack at implementing this.
Thoughts?