Skip to content

Commit

Permalink
fix(httpclient): router delete -> del (eggjs#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosaic101 authored and atian25 committed Dec 21, 2017
1 parent 19fdf2c commit 39764fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion httpclient/app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = app => {
app.router.get('/get', 'httpclient.get');
app.router.get('/post', 'httpclient.post');
app.router.get('/put', 'httpclient.put');
app.router.get('/delete', 'httpclient.delete');
app.router.get('/delete', 'httpclient.del');
app.router.get('/form', 'httpclient.form');
app.router.get('/multipart', 'httpclient.multipart');
app.router.get('/stream', 'httpclient.stream');
Expand Down
3 changes: 2 additions & 1 deletion httpclient/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"egg-bin": "^4.3.5"
},
"scripts": {
"start": "egg-bin dev"
"start": "egg-bin dev",
"dev": "egg-bin dev"
},
"private": true
}

0 comments on commit 39764fb

Please sign in to comment.