trailingSlash

Configures how trailing slashes are treated.

  • 'always' will add a trailing slash if not present

  • 'never' will remove the trailing slash if present

  • 'preserve' will not modify the trailing slash.

default - 'never' API Docs