Skip to content

Commit

Permalink
text outbox model with purple pages
Browse files Browse the repository at this point in the history
  • Loading branch information
chakany committed Apr 3, 2024
1 parent c782c5e commit 941f136
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 @@ -9,7 +9,7 @@ export const relays = JSON.parse(
);

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

export const ndk: Writable<NDK> = writable(Ndk);
Expand Down

0 comments on commit 941f136

Please sign in to comment.