Add README and LICENSE
This commit is contained in:
parent
84d9b5d984
commit
68e0d6a0a9
2 changed files with 25 additions and 1 deletions
19
README.md
19
README.md
|
@ -1,3 +1,20 @@
|
|||
# lack-mw
|
||||
|
||||
Middleware collection for [Lack](https://github.com/fukamachi/lack)
|
||||
Middleware collection for [Lack](https://github.com/fukamachi/lack).
|
||||
|
||||
## Middlewares
|
||||
|
||||
- **trailing-slash**
|
||||
Handles trailing slashes in URLs for GET requests.
|
||||
If the requested resource isn’t found, it redirects to the correct URL accordingly.
|
||||
- `*append-trailing-slash*`
|
||||
Redirects to the URL **with** a trailing slash.
|
||||
- `*trim-trailing-slash*`
|
||||
Redirects to the URL **without** a trailing slash.
|
||||
- Coming soon...
|
||||
|
||||
## License
|
||||
|
||||
Licensed under the MIT License.
|
||||
|
||||
© 2024 skyizwhite
|
Loading…
Add table
Add a link
Reference in a new issue