fix: remove cache-relay on connect failed
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
kieran 2024-06-18 11:24:08 +01:00
parent e9adb6c724
commit 338c4eb18a
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -42,6 +42,7 @@ export async function initRelayWorker() {
return;
}
} catch (e) {
localStorage.removeItem("cache-relay");
console.error(e);
}