From 64d109508dc585bd0b26422e18b9d177a10d7a22 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Thu, 28 Dec 2023 23:15:39 +0900 Subject: [PATCH] [fix] backupcheck process --- src/ts/drive/backuplocal.ts | 1 - src/ts/drive/drive.ts | 1 - 2 files changed, 2 deletions(-) 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')