Fix staticUrlToPrefixed url rewriting

This commit is contained in:
mvdbeek
2022-01-13 11:37:23 -05:00
committed by Sergey Golitsynskiy
parent 320c6a36b5
commit 664a520177
+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) {