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