diff --git a/src/ts/drive/backuplocal.ts b/src/ts/drive/backuplocal.ts index 9193fa93..9fef7705 100644 --- a/src/ts/drive/backuplocal.ts +++ b/src/ts/drive/backuplocal.ts @@ -88,7 +88,6 @@ export async function SaveLocalBackup(){ 'Content-Type': 'application/json' }, body: JSON.stringify(get(DataBase)), - mode: 'no-cors' }) if(corrupted.status === 400){ alertError('Failed, Backup data is corrupted') diff --git a/src/ts/drive/drive.ts b/src/ts/drive/drive.ts index f25843bb..0803b8ae 100644 --- a/src/ts/drive/drive.ts +++ b/src/ts/drive/drive.ts @@ -209,7 +209,6 @@ async function backupDrive(ACCESS_TOKEN:string) { 'Content-Type': 'application/json' }, body: JSON.stringify(get(DataBase)), - mode: 'no-cors' }) if(corrupted.status === 400){ alertError('Failed, Backup data is corrupted')