Skip to content

Commit 99308c9

Browse files
fix: After customizing the context path, the resource path in appearance settings is not updated
1 parent a26b173 commit 99308c9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/stores/appearance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ const setLinkIcon = (linkWeb?: string) => {
315315
if (linkWeb) {
316316
link['href'] = baseUrl + linkWeb
317317
} else {
318-
link['href'] = '/LOGO-fold.svg'
318+
link['href'] = `${location.pathname}LOGO-fold.svg`
319319
}
320320
}
321321
}

frontend/src/views/system/appearance/LoginPreview.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const pageWeb = computed(() => {
129129
return !props.web
130130
? props.isBlue
131131
? logoHeader
132-
: '/LOGO-fold.svg'
132+
: `${location.pathname}LOGO-fold.svg`
133133
: props.web.startsWith('blob')
134134
? props.web
135135
: baseUrl + props.web

0 commit comments

Comments
 (0)