aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-04-27 05:44:41 +0000
committerFuwn <[email protected]>2026-04-27 05:44:41 +0000
commit148b386f9c3114b3f1b30b3e9a012e6d02423b51 (patch)
tree1d12d1a6635e28be5967a7e67c9481141a2c46a9
parentchore: Bump version to v0.6.0 (diff)
downloadarchived-windmark-148b386f9c3114b3f1b30b3e9a012e6d02423b51.tar.xz
archived-windmark-148b386f9c3114b3f1b30b3e9a012e6d02423b51.zip
fix(examples): Update binary example after LICENSE rename
-rw-r--r--examples/binary.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/binary.rs b/examples/binary.rs
index 9496810..ae8f5e3 100644
--- a/examples/binary.rs
+++ b/examples/binary.rs
@@ -11,10 +11,10 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
router.set_certificate_file("windmark_public.pem");
#[cfg(feature = "auto-deduce-mime")]
router.mount("/automatic", {
- windmark::binary_success!(include_bytes!("../LICENSE"))
+ windmark::binary_success!(include_bytes!("../LICENSE-MIT"))
});
router.mount("/specific", {
- windmark::binary_success!(include_bytes!("../LICENSE"), "text/plain")
+ windmark::binary_success!(include_bytes!("../LICENSE-MIT"), "text/plain")
});
router.mount("/direct", {
windmark::binary_success!("This is a string.", "text/plain")