Skip to content

Commit

Permalink
Update to json-server 0.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Dec 13, 2015
1 parent de4d9c9 commit 4956693
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ app.all('*', function(req, res, next) {
next()
})

app.use(jsonServer.defaults)
app.use(jsonServer.defaults())
app.use(router)

app.listen(port, function() {
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@
"url": "https://github.com/typicode/jsonplaceholder.git"
},
"bin": "./cli.js",
"scripts": {
"start": "node index"
},
"dependencies": {
"clone": "^0.2.0",
"express": "^4.11.2",
"json-server": "^0.7.23"
"json-server": "^0.8.4"
},
"devDependencies": {
"Faker": "~0.5.11",
Expand Down

0 comments on commit 4956693

Please sign in to comment.