mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 12:43:18 +08:00
Add --snapshots and basic test
This commit is contained in:
@ -32,6 +32,11 @@ module.exports = function () {
|
||||
alias: 's',
|
||||
description: 'Set static files directory'
|
||||
},
|
||||
snapshots: {
|
||||
alias: 'S',
|
||||
description: 'Set snapshots directory',
|
||||
default: '.'
|
||||
},
|
||||
delay: {
|
||||
alias: 'd',
|
||||
description: 'Add delay to responses (ms)'
|
||||
|
Reference in New Issue
Block a user