upgrade koa-route.. docs..

This commit is contained in:
Lloyd Brookes
2015-11-17 12:55:25 +00:00
parent b3de999e4d
commit 4be3ba4a3e
5 changed files with 71 additions and 34 deletions

View File

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