From 5e6ea230ab98f4a2761876ebe1646c13588e36b1 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 2 Apr 2023 01:57:26 +0000 Subject: feat(response): add 'auto' functionality to binary_success raw --- examples/windmark.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/windmark.rs b/examples/windmark.rs index 4b2b1fc..50914f4 100644 --- a/examples/windmark.rs +++ b/examples/windmark.rs @@ -181,7 +181,7 @@ async fn main() -> Result<(), Box> { ); #[cfg(feature = "auto-deduce-mime")] router.mount("/auto-file", { - windmark::binary_success_auto!(include_bytes!("../LICENSE")) + windmark::binary_success!(include_bytes!("../LICENSE")) }); router.mount("/file", { windmark::binary_success!(include_bytes!("../LICENSE"), "text/plain") -- cgit v1.2.3