From 42f323d849cea8608972e82a78fadf9249571b88 Mon Sep 17 00:00:00 2001 From: Henry van Megen Date: Thu, 12 Oct 2023 06:23:17 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 09fff56..29d7854 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ docker compose up -d ``` ## 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. For example, sending the message `d2 l10` will result in a 2 seconds delay and 10 sentences response.