From 5022b2a8720d882db5ef2612b605a7145f149044 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Tue, 29 Jul 2025 18:23:45 +0800 Subject: [PATCH] fix: The conversation page cannot be opened (#3770) --- 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 e0a641398..73e86a0b8 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) {