Koa middleware that redirects all requests to an URL with a trailing slash to the same URL without it, ignoring the query string (key and value).
Installation
npm install koa-no-trailing-slash
Usage
const app = new ;app;app;app;
Koa middleware that redirects all requests to an URL with a trailing slash to the same URL without it, ignoring the query string (key and value).
npm install koa-no-trailing-slash
const app = new ;app;app;app;
npm i koa-no-trailing-slash
497
2.1.0
CC0-1.0