Update axum.md
This commit is contained in:
parent
2c87af136c
commit
5669fd07a6
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
Setup for axum serving static files and a rest API, using axum
|
Setup for axum serving static files and a rest API, using axum
|
||||||
* took me a while to get right, but now it's no use anymore
|
* took me a while to get right, but now it's no use anymore
|
||||||
* assumes static files in ./assets
|
* assumes static files in ./assets
|
||||||
|
* handles the mimetypes
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use axum::body::Body;
|
use axum::body::Body;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue