Made FAVICON_URL a runtime variable. Closes #3412

This commit is contained in:
Mike Cao 2025-07-24 21:54:10 -07:00
parent 6e6c1df858
commit b6862de2be
2 changed files with 1 additions and 3 deletions

View file

@ -13,7 +13,7 @@ export function Favicon({ domain, ...props }) {
return null;
}
const url = config?.faviconURL || process.env.faviconURL || FAVICON_URL;
const url = config?.faviconURL || FAVICON_URL;
const hostName = domain ? getHostName(domain) : null;
const domainName = GROUPED_DOMAINS[hostName]?.domain || hostName;
const src = hostName ? url.replace(/\{\{\s*domain\s*}}/, domainName) : null;