We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caa08e1 commit 5022b2aCopy full SHA for 5022b2a
ui/src/stores/modules/application.ts
@@ -3,7 +3,7 @@ import applicationApi from '@/api/application/application'
3
import { type Ref } from 'vue'
4
const useApplicationStore = defineStore('application', {
5
state: () => ({
6
- location: `${window.location.origin}${window.MaxKB.chatPrefix}/`,
+ location: `${window.location.origin}${window.MaxKB.chatPrefix ? window.MaxKB.chatPrefix : window.MaxKB.prefix}/`,
7
}),
8
actions: {
9
async asyncGetApplicationDetail(id: string, loading?: Ref<boolean>) {
0 commit comments