@hackage / hack-middleware-cleanpath

Applies some basic redirect rules to get cleaner paths. (deprecated)

Version Deprecated package0.0.1.1

About

Metadata

  • Last updated , by MichaelSnoyman
  • License BSD-3-Clause
  • Categories Web Development
  • Maintained by: Michael Snoyman <michael@snoyman.com>

  • Lottery factor: 0

Links

Installation

This package has been deprecated

Readme

Forces request to have a trailing slash (unless there is a file extension) and ensures there are no doubled slashes. Takes the idea from Django.