mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update index.js
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user