Skip to content

Commit

Permalink
change db name to prevent migration errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chakany authored Dec 7, 2024
1 parent 9731471 commit 6d7cea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/nostr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const relays = JSON.parse(
(browser && localStorage.getItem('nostrcooking_relays')) || JSON.stringify(standardRelays)
);

const dexieAdapter = new NDKCacheAdapterDexie({ dbName: 'nostrcooking-ndk-cache-db' });
const dexieAdapter = new NDKCacheAdapterDexie({ dbName: 'zapcooking-ndk-cache-db' });
const Ndk: NDK = new NDK({ outboxRelayUrls: ["wss://purplepag.es"], enableOutboxModel: true, explicitRelayUrls: relays, cacheAdapter: dexieAdapter });
browser && Ndk.connect().then(() => console.log('ndk connected'));

Expand Down

0 comments on commit 6d7cea2

Please sign in to comment.