Skip to content

Commit 5022b2a

Browse files
authored
fix: The conversation page cannot be opened (#3770)
1 parent caa08e1 commit 5022b2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/stores/modules/application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import applicationApi from '@/api/application/application'
33
import { type Ref } from 'vue'
44
const useApplicationStore = defineStore('application', {
55
state: () => ({
6-
location: `${window.location.origin}${window.MaxKB.chatPrefix}/`,
6+
location: `${window.location.origin}${window.MaxKB.chatPrefix ? window.MaxKB.chatPrefix : window.MaxKB.prefix}/`,
77
}),
88
actions: {
99
async asyncGetApplicationDetail(id: string, loading?: Ref<boolean>) {

0 commit comments

Comments
 (0)