ensure body-parser middleware is further downstream than rewrite.. fixes #30.

This commit is contained in:
Lloyd Brookes
2016-02-20 16:11:12 +00:00
parent 49dc789850
commit f7ecc9f5fd
5 changed files with 94 additions and 58 deletions

View File

@ -2,10 +2,6 @@
"rewrite": [
{ "from": "/css/*", "to": "/build/styles/$1" },
{ "from": "/npm/*", "to": "http://registry.npmjs.org/$1" },
{ "from": "/:user/repos/:name", "to": "https://api.github.com/repos/:user/:name" },
{
"from": "/lloyd/*",
"to": "http://104.131.40.69/$1"
}
{ "from": "/:user/repos/:name", "to": "https://api.github.com/repos/:user/:name" }
]
}