lwsjs / blacklist

Middleware for lws enabling certain routes to be forbidden

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

view on npm npm module downloads Build Status Dependency Status js-standard-style

lws-blacklist

Middleware for lws enabling certain routes to be forbidden. See here for usage instructions.

Adds the following options to lws.

--blacklist path ...           A list of routes to forbid, e.g. `--blacklist "/admin/(.*)" "(.*).php"`

© 2016-20 Lloyd Brookes <75pound@gmail.com>.

About

Middleware for lws enabling certain routes to be forbidden

License:MIT License


Languages

Language:JavaScript 100.0%