fix: add error time
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user