fix: respect frontend base path for tracking favicon

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NWfQvx8fzZoE7ozLk8RWRf
This commit is contained in:
Claude 2026-06-18 21:26:22 +00:00
parent 7e342af6f1
commit c3a7bb3eb2
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -3,8 +3,9 @@ import {createSharedComposable, tryOnMounted} from '@vueuse/core'
import {storeToRefs} from 'pinia'
import {useTimeTrackingStore} from '@/stores/timeTracking'
import {getFullBaseUrl} from '@/helpers/getFullBaseUrl'
const TRACKING_FAVICON = '/images/icons/favicon-tracking-32x32.png'
const TRACKING_FAVICON = `${getFullBaseUrl()}images/icons/favicon-tracking-32x32.png`
function getFaviconLink(): HTMLLinkElement | null {
return document.querySelector<HTMLLinkElement>('link[rel="icon"]')