Update axum.md
This commit is contained in:
parent
ff8ac4c15a
commit
2c87af136c
1 changed files with 1 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
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
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use axum::body::Body;
|
use axum::body::Body;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue