fix: add error time

This commit is contained in:
kwaroran
2024-07-02 02:30:17 +09:00
parent dbdbeca49e
commit 6ee9a152d4

View File

@@ -95,9 +95,12 @@ export async function checkDriverInit() {
return false return false
} }
} catch (error) { } catch (error) {
location.search = ''
console.error(error) console.error(error)
alertError(`Backup Error: ${error}`) alertError(`Backup Error: ${error}`)
const currentURL = new URL(location.href)
currentURL.search = ''
window.history.replaceState( {} , "", currentURL.href );
await sleep(100000)
return false return false
} }
} }