typicode / json-server

Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Other
71.87k stars 6.93k forks source link

delay [ms] is not working for me...... #1558

Open Sntsayi opened 3 weeks ago

Sntsayi commented 3 weeks ago

wehn i try to use delay option in our project i got this error?

Unknown option '--delay', how i can fix it.

Quentin-L-Inge commented 2 weeks ago

It's "normal". They removed the --delay in the CLI for no reason and tell you to use the delay option of the network tab in your browser. But it's not a really good idea to have delay in the back-end. So you can come back to the version 0.17.4 to get back this feature :)