From 24ddb5f21ca0a683753d36360bdc3528d861b65d Mon Sep 17 00:00:00 2001 From: Siddharth Singh Date: Mon, 26 Aug 2024 05:48:44 +0530 Subject: [PATCH] log ditto nsec when container created --- scripts/headless/setup.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/headless/setup.ts b/scripts/headless/setup.ts index 5f101f8e..21d344b2 100644 --- a/scripts/headless/setup.ts +++ b/scripts/headless/setup.ts @@ -13,6 +13,7 @@ function missingEnv(what: string, v: string) { if (import.meta.main) { const key = generateSecretKey(); const DITTO_NSEC = nip19.nsecEncode(key); + console.log('DITTO_NSEC: ', DITTO_NSEC); const LOCAL_DOMAIN = Deno.env.get('DITTO_DOMAIN'); if (!LOCAL_DOMAIN) missingEnv('Domain value', 'DITTO_DOMAIN');