added backup fallback

This commit is contained in:
kwaroran
2023-05-07 15:30:50 +09:00
parent 3308bad0be
commit dbbd409775

View File

@@ -67,6 +67,7 @@ export async function checkDriverInit() {
} }
else{ else{
alertError(await res.text()) alertError(await res.text())
location.search = ''
} }
return true return true
} }
@@ -74,6 +75,7 @@ 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}`)
return false return false