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{
alertError(await res.text())
location.search = ''
}
return true
}
@@ -74,6 +75,7 @@ export async function checkDriverInit() {
return false
}
} catch (error) {
location.search = ''
console.error(error)
alertError(`Backup Error: ${error}`)
return false