use lws packages

This commit is contained in:
Lloyd Brookes
2017-03-19 23:13:41 +00:00
parent 08ab65d460
commit cc08ca7465
3 changed files with 38 additions and 16 deletions

View File

@ -0,0 +1,8 @@
module.exports = {
rewrite: [
{ from: '/css/*', 'to': '/build/styles/$1' },
{ from: '/npm/*', 'to': 'http://registry.npmjs.org/$1' },
{ from: '/broken/*', 'to': 'http://localhost:9999' },
{ from: '/:user/repos/:name', 'to': 'https://api.github.com/repos/:user/:name' }
]
}