Skip to content

Commit

Permalink
Merge pull request #2901 from andrewbaldwin44/task/readme
Browse files Browse the repository at this point in the history
Update Webui README
  • Loading branch information
cyberw authored Sep 12, 2024
2 parents b3e85ae + 30c8c8b commit 4120e5b
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 4120e5b

Please sign in to comment.