fix endpoint
This commit is contained in:
1 parent
5b076b2374
commit
9919825f56
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user