Merge pull request #319 from hvanmegen/patch-1
Update README.md (fix a single letter typo)
This commit is contained in:
commit
0abd06b522
|
@ -47,7 +47,7 @@ docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## Mocked api
|
## Mocked api
|
||||||
If you don't want to wait for the API to respond, you can use the mocked API instead. To use the mocked API, edit the `.env` file at root of the project ans set the key `VITE_API_BASE=http://localhost:5174` in it. Then, run the `docker compose up -d` command above.
|
If you don't want to wait for the API to respond, you can use the mocked API instead. To use the mocked API, edit the `.env` file at root of the project and set the key `VITE_API_BASE=http://localhost:5174` in it. Then, run the `docker compose up -d` command above.
|
||||||
|
|
||||||
You can customize the mocked API response by sending a message that consists of `d` followed by a number, it will delay the response the the specified number of seconds. You can customize the length of the response by including `l` followed by a number, it will return a response with the specified number of sentences.
|
You can customize the mocked API response by sending a message that consists of `d` followed by a number, it will delay the response the the specified number of seconds. You can customize the length of the response by including `l` followed by a number, it will return a response with the specified number of sentences.
|
||||||
For example, sending the message `d2 l10` will result in a 2 seconds delay and 10 sentences response.
|
For example, sending the message `d2 l10` will result in a 2 seconds delay and 10 sentences response.
|
||||||
|
|
Loading…
Reference in New Issue