diff options
| -rw-r--r-- | .env.staging | 1 | ||||
| -rw-r--r-- | Dockerfile | 2 | ||||
| -rw-r--r-- | src/lib/nip07.ts | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/.env.staging b/.env.staging index 54f2be53..ac642b7e 100644 --- a/.env.staging +++ b/.env.staging @@ -9,3 +9,4 @@ PUBLIC_COINOS_RELAY=wss://relay.coinos.io PUBLIC_COINOS_NETWORK=bitcoin PUBLIC_VAPID_PUBKEY=BFCcO7u4fpgDjWK-Py2qL7rGeueaijf97zxyBKcld25Hya9psuB9pVPeWKpUTdZI0wEWWzTOUK0LVO9uUfbaMhI PUBLIC_RECAPTCHA_SITE_KEY=6LfCd8YkAAAAANmVJgzN3SQY3n3fv1RhiS5PgMYM +PUBLIC_DM_RELAYS=wss://relay.coinos.io @@ -13,4 +13,4 @@ RUN rm -f .env .env.local .env.production .env.production.local && \ ENV NODE_ENV=production -CMD ["bun", "run", "preview", "--host", "--port", "3000"] +CMD ["bun", "./build/index.js"] diff --git a/src/lib/nip07.ts b/src/lib/nip07.ts index 093e2ead..ee31ee58 100644 --- a/src/lib/nip07.ts +++ b/src/lib/nip07.ts @@ -1,4 +1,4 @@ -import { bytesToHex, hexToBytes } from "@noble/hashes/utils"; +import { bytesToHex, hexToBytes } from "@noble/hashes/utils.js"; import { finalizeEvent } from "nostr-tools/pure"; import * as libnip44 from "$lib/nip44"; import { u } from "$lib/nip44"; |
