Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example of static-file-server using serve dir with handler as ser…
…vice (#1501) * add example of static-file-seriver using serve dit with handler as service * update handle return type in example Co-authored-by: David Pedersen <david.pdrsn@gmail.com> * cargo fmt fix * change error mapping Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
- Loading branch information
1 parent
944f388
commit 8d6313a
Showing
1 changed file
with
22 additions
and
2 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