mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix logo link when using prefix
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user