Skip to content

Commit

Permalink
Add more verbose logging for domain from env
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimog01 committed Jun 30, 2023
1 parent 44a09df commit 6f5f7fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ async function main() {
? process.env._DAPPNODE_GLOBAL_DOMAIN
: await retrieveDappnodeDomain();

if (process.env._DAPPNODE_GLOBAL_DOMAIN)
console.log("Domain retrieved from environment:", dappnodeDomain);

if (!fs.existsSync(config.serverConfigDir)) {
fs.mkdirSync(config.serverConfigDir);
}
Expand Down

0 comments on commit 6f5f7fd

Please sign in to comment.