Fix logo link when using prefix

This commit is contained in:
mvdbeek
2022-01-06 17:07:14 +01:00
parent 3cc94712a7
commit dbf1f59b87
+1 -1
View File
@@ -44,7 +44,7 @@ export class MastheadState {
}
function staticUrlToPrefixed(appRoot, url) {
return url?.startsWith("/static/") ? `${appRoot}${url}` : url;
return url?.startsWith("/") ? `${appRoot}${url}` : url;
}
export function mountMasthead(el, options, mastheadState) {