small fixes

This commit is contained in:
Ren Amamiya
2023-09-08 09:22:09 +07:00
parent a1fa777f8c
commit 10036500cb
4 changed files with 36 additions and 18 deletions

View File

@@ -57,7 +57,12 @@ export const NDKInstance = () => {
async function initNDK() {
const explicitRelayUrls = await getExplicitRelays();
const instance = new NDK({ explicitRelayUrls, cacheAdapter });
const instance = new NDK({
explicitRelayUrls,
cacheAdapter,
// outboxRelayUrls: ['wss://purplepag.es'],
// enableOutboxModel: true,
});
try {
await instance.connect(10000);