initconfig

This commit is contained in:
bingochaos
2025-08-19 00:04:40 +08:00
parent 519fcb64a2
commit e02b43331e
4 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -66082,7 +66082,7 @@ const ba = i5('visionStore', {
} }
}, },
async init() { async init() {
fetch('/openavatarchat/init') fetch('/openavatarchat/initconfig')
.then((n) => n.json()) .then((n) => n.json())
.then((n) => { .then((n) => {
;(n.rtc_configuration && (this.rtcConfig = n.rtc_configuration), ;(n.rtc_configuration && (this.rtcConfig = n.rtc_configuration),
@@ -69992,7 +69992,7 @@ const _ie = si(gie, [['render', vie]]),
} }
}, },
}), }),
Rie = si(Mie, [['__scopeId', 'data-v-8a792db3']]), Rie = si(Mie, [['__scopeId', 'data-v-628a9c05']]),
Iie = { class: 'gradio-webrtc-waveContainer' }, Iie = { class: 'gradio-webrtc-waveContainer' },
Nie = qt({ Nie = qt({
__name: 'AudioWave', __name: 'AudioWave',

View File

@@ -151,7 +151,7 @@ export const useVideoChatStore = defineStore('videoChatStore', {
} }
}, },
async init() { async init() {
fetch('/openavatarchat/init') fetch('/openavatarchat/initconfig')
.then((res) => res.json()) .then((res) => res.json())
.then((config) => { .then((config) => {
if (config.rtc_configuration) { if (config.rtc_configuration) {