mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-09 00:28:52 +01:00
Update index.js
This commit is contained in:
parent
9333340175
commit
8f1321f09d
@ -399,8 +399,8 @@ async function unloadLiveChar() {
|
||||
try {
|
||||
const url = new URL(getApiUrl());
|
||||
url.pathname = '/api/live2d/unload';
|
||||
|
||||
const loadResponse = await fetch(url);
|
||||
|
||||
const loadResponse = await doExtrasFetch(url);
|
||||
|
||||
if (!loadResponse.ok) {
|
||||
throw new Error(loadResponse.statusText);
|
||||
|
Loading…
x
Reference in New Issue
Block a user