diff --git a/client/src/layout/masthead.js b/client/src/layout/masthead.js index 9fcc930e387..ec5bfffaca9 100644 --- a/client/src/layout/masthead.js +++ b/client/src/layout/masthead.js @@ -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) {