🎉
This commit is contained in:
parent
7609892c1f
commit
d392da64ab
14 changed files with 34 additions and 20 deletions
|
|
@ -43,7 +43,7 @@ module.exports = (I, cb, file = null) => {
|
|||
if (folder) data.append('folder_id', folder.id);
|
||||
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.open('POST', CONFIG.api.url + '/drive/files/create', true);
|
||||
xhr.open('POST', CONFIG.apiUrl + '/drive/files/create', true);
|
||||
xhr.onload = e => {
|
||||
const file = JSON.parse(e.target.response);
|
||||
progress.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue