Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
ServeDir::{fallback, not_found_service}‘
(#243)
* Fix clippy lints * Add `ServeDir::fallback` * bodies don't need `+ Sync` * remove unused imports * update changelog * Add `not_found_service` * remove todo is isn't very important * fix wrong docs link * Apply suggestions from code review Co-authored-by: Jonas Platte <jplatte+git@posteo.de> * remove `unreachable!` * review feedback Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
- Loading branch information
1 parent
fd13e2a
commit 1737566
Showing
5 changed files
with
337 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.