mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
log ditto nsec when container created
This commit is contained in:
parent
ebc27e8297
commit
24ddb5f21c
1 changed files with 1 additions and 0 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue