Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.37 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.37 KB

view on npm npm module downloads Gihub repo dependents Gihub package dependents Node.js CI js-standard-style

lws-rewrite

lws middleware plugin adding URL rewriting support. For usage instructions see here.

Adds the following options to lws.

--rewrite, -r expression ...   A list of URL rewrite rules. For each rule, separate the 'from' and 'to'
                               routes with '->'. Whitespace surrounded the routes is ignored. E.g. '/from ->
                               /to'.

© 2016-24 Lloyd Brookes <[email protected]>.