lwsjs / rewrite

lws middleware plugin adding URL rewriting support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

view on npm npm module downloads Gihub repo dependents Gihub package dependents Build Status Coverage Status 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-20 Lloyd Brookes <75pound@gmail.com>.

About

lws middleware plugin adding URL rewriting support

License:MIT License


Languages

Language:JavaScript 100.0%Language:HTML 0.0%