Merge pull request #13156 from mvdbeek/fix_logo_url

[21.09] Fix staticUrlToPrefixed url rewriting
This commit is contained in:
Björn Grüning
2022-01-12 17:40:09 +01:00
committed by GitHub
+1 -1
View File
@@ -44,7 +44,7 @@ export class MastheadState {
}
function staticUrlToPrefixed(appRoot, url) {
return url?.startsWith("/") ? `${appRoot}${url}` : url;
return url?.startsWith("/") ? `${appRoot}${url.substring(1)}` : url;
}
export function mountMasthead(el, options, mastheadState) {