Skip to content

Commit

Permalink
fix: remove cache-relay on connect failed
Browse files Browse the repository at this point in the history
  • Loading branch information
v0l committed Jun 18, 2024
1 parent e9adb6c commit 338c4eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app/src/Cache/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export async function initRelayWorker() {
return;
}
} catch (e) {
localStorage.removeItem("cache-relay");
console.error(e);
}

Expand Down

0 comments on commit 338c4eb

Please sign in to comment.