mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix staticUrlToPrefixed url rewriting
This commit is contained in:
committed by
Sergey Golitsynskiy
parent
320c6a36b5
commit
664a520177
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user