mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 04:32:24 +08:00
Fix syntax
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user