aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-04-07 03:43:20 +0000
committerFuwn <[email protected]>2022-04-07 03:43:20 +0000
commit6e53a1d07bd6ce2f777627944bc1172c6611c124 (patch)
treef1797a4a25558c6d054d4bf36fb153da6744606c /examples
parentdocs(cargo): bump version (diff)
downloadwindmark-6e53a1d07bd6ce2f777627944bc1172c6611c124.tar.xz
windmark-6e53a1d07bd6ce2f777627944bc1172c6611c124.zip
fix: try to fix path
Diffstat (limited to 'examples')
-rw-r--r--examples/windmark.rs1
1 files changed, 1 insertions, 0 deletions
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<dyn std::error::Error>> {
Response::PermanentFailure("e".into())
}));
+ router.set_fix_path(true);
router.attach_stateless(|r| {
r.mount(
"/module",