mirror of
https://github.com/hzrd149/nsite-gateway.git
synced 2025-06-23 12:05:01 +00:00
11 lines
178 B
TypeScript
11 lines
178 B
TypeScript
![]() |
import NDK from "@nostr-dev-kit/ndk";
|
||
|
import { NOSTR_RELAYS } from "./env.js";
|
||
|
|
||
|
const ndk = new NDK({
|
||
|
explicitRelayUrls: NOSTR_RELAYS,
|
||
|
});
|
||
|
|
||
|
ndk.connect();
|
||
|
|
||
|
export default ndk;
|