From d7f2a2c2d63ae24b2c789d157281b86b7987b2a9 Mon Sep 17 00:00:00 2001 From: Sander Hautvast Date: Fri, 29 Mar 2024 15:45:28 +0100 Subject: [PATCH] Update axum.md --- cmd/axum.md | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/axum.md b/cmd/axum.md index ae18851..61f2677 100644 --- a/cmd/axum.md +++ b/cmd/axum.md @@ -2,6 +2,7 @@ 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 * handles the mimetypes +* the api may seem weird: it accepts a path param called `rgb_hex` and serves an image that is closest to that color (that code not here) ```rust use axum::body::Body;