diff options
| author | Fuwn <[email protected]> | 2025-07-08 05:16:56 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-07-08 05:16:56 +0000 |
| commit | 80c5309ad71c8deee66f7407d90b002016886874 (patch) | |
| tree | a8ea7ee0143adf8df771b8f49cb192f8bd808eb2 /src/router_option.rs | |
| parent | feat(router): Add missing trailing slash corrector (diff) | |
| download | windmark-80c5309ad71c8deee66f7407d90b002016886874.tar.xz windmark-80c5309ad71c8deee66f7407d90b002016886874.zip | |
refactor(RouterOption): Rename trailing slash trimming option
Diffstat (limited to 'src/router_option.rs')
| -rw-r--r-- | src/router_option.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router_option.rs b/src/router_option.rs index 2672a42..d3d0bb9 100644 --- a/src/router_option.rs +++ b/src/router_option.rs @@ -3,7 +3,7 @@ pub enum RouterOption { /// Trim trailing slashes from the URL path if it is present and a route /// match exists - TrimTrailingSlashes, + RemoveExtraTrailingSlash, /// Add a trailing slash to the URL path if it is missing and a route /// match exists AddMissingTrailingSlash, |