Skip to content

Commit

Permalink
Update webui README
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbaldwin44 committed Sep 12, 2024
1 parent 7c85b79 commit 30c8c8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion locust/webui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ For Locust to be able to pass data to your React frontend, place the following s

To load the favicon, place the link in your head:
```html
<link rel="icon" href="./assets/favicon.png" />
<link rel="shortcut icon" href="./assets/favicon-light.png" media="(prefers-color-scheme: light)">
<link rel="shortcut icon" href="./assets/favicon-dark.png" media="(prefers-color-scheme: dark)">
```

Lastly, you must configure Locust to point to your own React build output. To achieve this, you can use the flag `--build-path` and provide the **absolute** path to your build directory.
Expand Down

0 comments on commit 30c8c8b

Please sign in to comment.