Skip to content

Commit

Permalink
fix: set the trailingSlash prop to remove by default and updated dev …
Browse files Browse the repository at this point in the history
…dependencies
  • Loading branch information
TheNaubit committed Oct 2, 2024
1 parent ef7d8cc commit d08f967
Show file tree
Hide file tree
Showing 4 changed files with 4,199 additions and 4,179 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ makeURL("https://example.com", "/test/:arr", {
Some servers expect trailing slashes, some does not support it. With this setting, you can configure the behaviour however you want.

By default, this library has this option set to `add` but you can change it in any function call you need it or globally by using the `setMakeURLDefaultConfig` function.
By default, this library has this option set to `remove` but you can change it in any function call you need it or globally by using the `setMakeURLDefaultConfig` function.

It has two possible values: `add` and `remove`.

Expand Down
Loading

0 comments on commit d08f967

Please sign in to comment.