From 4244dd82e9edd87ae96e03fdcc007177f9b56ac5 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Mon, 6 Apr 2026 01:17:17 +0200 Subject: [PATCH] fix: use BASE_PATH for favicon references in subpath deployments Hardcoded /favicon.svg paths skip the tag and fail when served from a subpath like /server/. Now uses config.basePath in TSX and a relative href in index.html so the tag resolves correctly. Co-Authored-By: Claude Opus 4.6 (1M context) --- ui/index.html | 2 +- ui/src/auth/LoginPage.tsx | 2 +- ui/src/components/LayoutShell.tsx | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/index.html b/ui/index.html index 6d9bb86f..feadf71f 100644 --- a/ui/index.html +++ b/ui/index.html @@ -2,7 +2,7 @@ - + Cameleer3 diff --git a/ui/src/auth/LoginPage.tsx b/ui/src/auth/LoginPage.tsx index f00b5dd4..a1c522bc 100644 --- a/ui/src/auth/LoginPage.tsx +++ b/ui/src/auth/LoginPage.tsx @@ -85,7 +85,7 @@ export function LoginPage() {
- + cameleer3

{subtitle}

diff --git a/ui/src/components/LayoutShell.tsx b/ui/src/components/LayoutShell.tsx index 5ba35c20..ab38b5da 100644 --- a/ui/src/components/LayoutShell.tsx +++ b/ui/src/components/LayoutShell.tsx @@ -1,4 +1,5 @@ import { Outlet, useNavigate, useLocation } from 'react-router'; +import { config } from '../config'; import { AppShell, Sidebar, @@ -616,7 +617,7 @@ function LayoutContent() { // --- Render ------------------------------------------------------- const camelLogo = ( - + ); const sidebarElement = (