Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(dx): show different favicon for dev mode - easier to find tab (#7550)

Nimar1097f1b8d5b0
diff --git a/web/public/favicon-16x16-dev.png b/web/public/favicon-16x16-dev.png
new file mode 100644
index 0000000000..ebac5b43bd
Binary files /dev/null and b/web/public/favicon-16x16-dev.png differ
diff --git a/web/public/favicon-32x32-dev.png b/web/public/favicon-32x32-dev.png
new file mode 100644
index 0000000000..582e2545db
Binary files /dev/null and b/web/public/favicon-32x32-dev.png differ
diff --git a/web/src/components/layouts/layout.tsx b/web/src/components/layouts/layout.tsx
index 56f113d230..0311b914e6 100644
--- a/web/src/components/layouts/layout.tsx
+++ b/web/src/components/layouts/layout.tsx
@@ -289,13 +289,13 @@ export default function Layout(props: PropsWithChildren) {
rel="icon"
type="image/png"
sizes="32x32"
- href={`${env.NEXT_PUBLIC_BASE_PATH ?? ""}/favicon-32x32.png`}
+ href={`${env.NEXT_PUBLIC_BASE_PATH ?? ""}/favicon-32x32${env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION === "DEV" ? "-dev" : ""}.png`}
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
- href={`${env.NEXT_PUBLIC_BASE_PATH ?? ""}/favicon-16x16.png`}
+ href={`${env.NEXT_PUBLIC_BASE_PATH ?? ""}/favicon-16x16${env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION === "DEV" ? "-dev" : ""}.png`}
/>
</Head>
<div>