always append the resource url (#38492) (#38502)

fixes: #38454

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
(cherry picked from commit 065d5c4289)
This commit is contained in:
Erik Jan de Wit
2025-03-28 12:08:31 +01:00
committed by GitHub
parent 82fe89bd84
commit ab83e69750

View File

@@ -51,9 +51,7 @@ export const Header = () => {
features={{ hasManageAccount: false }}
brand={{
href: indexHref,
src: brandImage.startsWith("/")
? joinPath(environment.resourceUrl, brandImage)
: brandImage,
src: joinPath(environment.resourceUrl, brandImage),
alt: t("logo"),
className: style.brand,
}}