This commit is contained in:
kakkokari-gtyih 2025-05-21 19:40:59 +09:00
parent bb10d4d185
commit b762929cc0
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export function uploadFile(file: File | Blob, options: {
signal.addEventListener('abort', () => { signal.addEventListener('abort', () => {
reject(new UploadAbortedError()); reject(new UploadAbortedError());
}); }, { once: true });
xhr.open('POST', apiUrl + '/drive/files/create', true); xhr.open('POST', apiUrl + '/drive/files/create', true);
xhr.onload = ((ev: ProgressEvent<XMLHttpRequest>) => { xhr.onload = ((ev: ProgressEvent<XMLHttpRequest>) => {