Update index.js

This commit is contained in:
pyrater 2023-08-04 09:26:17 +09:00 committed by GitHub
parent 9333340175
commit 8f1321f09d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);