mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Warm up NIP-07 extension state
This commit is contained in:
1 parent
a3b5bbb84f
commit
589fdd2ec4
2 files changed
+77
-9
No files matched your search
@@ -571,6 +571,10 @@ class Application {
|
||||
this.loadView = module?.loadView || null;
|
||||
}
|
||||
|
||||
if (nostrClient && typeof nostrClient.warmupExtension === "function") {
|
||||
nostrClient.warmupExtension();
|
||||
}
|
||||
|
||||
// Force update of any registered service workers to ensure latest code is used.
|
||||
if ("serviceWorker" in navigator) {
|
||||
navigator.serviceWorker.getRegistrations().then((registrations) => {
|
||||
|
||||
Reference in new issue
Block a user