fix endpoint

This commit is contained in:
AceDataCloud committed 2023-04-14 01:13:25 +08:00
1 parent 5b076b2374
commit 9919825f56
1 file changed
+1 -1
+1 -1
View File
@@ -324,7 +324,7 @@ export default defineComponent({
accept: this.setting?.stream ? 'application/x-ndjson' : 'application/json',
'content-type': 'application/json'
},
baseURL: this.$store.getters.endpoint || ENDPOINT,
baseURL: this.setting.endpoint || ENDPOINT,
signal: this.canceler.signal,
// only enable for stream mode
...(this.setting?.stream