Fix syntax

This commit is contained in:
sonic
2015-05-15 02:35:06 +02:00
parent 939eb8d71f
commit 58c49f1c9d

View File

@ -60,7 +60,6 @@ function start (object, filename) {
'Enter ' + chalk.cyan('s') + ' at any time to create a snapshot of the db'
)
process.stdin.resume()
process.stdin.setEncoding('utf8')
process.stdin.on('data', function (chunk) {
@ -106,7 +105,6 @@ function start (object, filename) {
}
console.log()
var server = jsonServer.create()
server.use(jsonServer.defaults)
server.use(router)