Update axum.md

This commit is contained in:
Sander Hautvast 2024-03-29 15:42:57 +01:00 committed by GitHub
parent ff8ac4c15a
commit 2c87af136c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,6 @@
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
* assumes static files in ./assets
```rust
use axum::body::Body;