Middleware collection for Lack
Find a file
2024-12-22 15:34:49 +09:00
.github/workflows init 2024-12-21 18:08:14 +09:00
src Add trailing-slash middlewares 2024-12-22 15:26:01 +09:00
tests Add trailing-slash middlewares 2024-12-22 15:26:01 +09:00
.gitignore init 2024-12-21 18:08:14 +09:00
lack-mw-test.asd Add trailing-slash middlewares 2024-12-22 15:26:01 +09:00
lack-mw.asd init 2024-12-21 18:08:14 +09:00
LICENSE Add README and LICENSE 2024-12-22 15:34:49 +09:00
qlfile Add trailing-slash middlewares 2024-12-22 15:26:01 +09:00
qlfile.lock Add trailing-slash middlewares 2024-12-22 15:26:01 +09:00
README.md Add README and LICENSE 2024-12-22 15:34:49 +09:00

lack-mw

Middleware collection for Lack.

Middlewares

  • trailing-slash
    Handles trailing slashes in URLs for GET requests.
    If the requested resource isnt 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