From 1381dfc93851550fe05d24d69401b1ba3af1add9 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 8 Jul 2025 05:16:56 +0000 Subject: refactor(RouterOption): Rename trailing slash trimming option --- examples/fix_path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/fix_path.rs b/examples/fix_path.rs index 95761ea..6ea8f9e 100644 --- a/examples/fix_path.rs +++ b/examples/fix_path.rs @@ -23,7 +23,7 @@ async fn main() -> Result<(), Box> { .set_private_key_file("windmark_private.pem") .set_certificate_file("windmark_public.pem") .add_options(&[ - windmark::router_option::RouterOption::TrimTrailingSlashes, + windmark::router_option::RouterOption::RemoveExtraTrailingSlash, windmark::router_option::RouterOption::AddMissingTrailingSlash, ]) .mount( -- cgit v1.2.3