diff --git a/web/ui/react-app/public/index.html b/web/ui/react-app/public/index.html
index eac493853..a3f7b7a85 100755
--- a/web/ui/react-app/public/index.html
+++ b/web/ui/react-app/public/index.html
@@ -15,10 +15,11 @@
It will render a "Consoles" link in the navbar when it is non-empty.
- PROMETHEUS_AGENT_MODE is replaced by a boolean indicating if Prometheus is running in agent mode.
It true, it will disable querying capacities in the UI and generally adapt the UI to the agent mode.
+ It has to be represented as a string, because booleans can be mangled to !1 in production builds.
-->