From aa03a192a0913f50e10ad4f541237b3a0e011a19 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Tue, 29 Jul 2025 18:21:34 +0800 Subject: [PATCH] fix: The conversation page cannot be opened --- ui/src/stores/modules/application.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/stores/modules/application.ts b/ui/src/stores/modules/application.ts index e0a6413983c..73e86a0b8bb 100644 --- a/ui/src/stores/modules/application.ts +++ b/ui/src/stores/modules/application.ts @@ -3,7 +3,7 @@ import applicationApi from '@/api/application/application' import { type Ref } from 'vue' const useApplicationStore = defineStore('application', { state: () => ({ - location: `${window.location.origin}${window.MaxKB.chatPrefix}/`, + location: `${window.location.origin}${window.MaxKB.chatPrefix ? window.MaxKB.chatPrefix : window.MaxKB.prefix}/`, }), actions: { async asyncGetApplicationDetail(id: string, loading?: Ref) {