From c036deca6a0f6df2fa612f24138a61ba74a7ce6e Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 7 Apr 2022 03:43:20 +0000 Subject: fix: try to fix path --- examples/windmark.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') diff --git a/examples/windmark.rs b/examples/windmark.rs index 709c552..2a0f682 100644 --- a/examples/windmark.rs +++ b/examples/windmark.rs @@ -66,6 +66,7 @@ async fn main() -> Result<(), Box> { Response::PermanentFailure("e".into()) })); + router.set_fix_path(true); router.attach_stateless(|r| { r.mount( "/module", -- cgit v1.2.3