ensure body-parser middleware is further downstream than rewrite.. fixes #30.
This commit is contained in:
@ -2,10 +2,6 @@
|
|||||||
"rewrite": [
|
"rewrite": [
|
||||||
{ "from": "/css/*", "to": "/build/styles/$1" },
|
{ "from": "/css/*", "to": "/build/styles/$1" },
|
||||||
{ "from": "/npm/*", "to": "http://registry.npmjs.org/$1" },
|
{ "from": "/npm/*", "to": "http://registry.npmjs.org/$1" },
|
||||||
{ "from": "/:user/repos/:name", "to": "https://api.github.com/repos/:user/:name" },
|
{ "from": "/:user/repos/:name", "to": "https://api.github.com/repos/:user/:name" }
|
||||||
{
|
|
||||||
"from": "/lloyd/*",
|
|
||||||
"to": "http://104.131.40.69/$1"
|
|
||||||
}
|
|
||||||
]
|