Koa middleware that redirects all requests to an URL with uppercase letters to the same URL in lowercase, ignoring the query string (key and value).
Installationnpm install koa-lowercase-url
Usage
License Related middleware Package Sidebar Install Downloads Weekly Downloads Collaboratorsconst app = new (require('koa'));
app.use(reuire('koa-to-lowercase')());
app.use(async (ctx, next) => {
   this.response.body = 'If this URL had uppercase letters before the ? now they are in lowercase.';
});
app.listen(8000);
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4