From a03c5d8c91b707568f0190c3d945397ebb157dc0 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 13 Apr 2024 07:09:45 -0700 Subject: [PATCH] fix(config): web2Api can be set with env var --- config/env/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/env/common.js b/config/env/common.js index 87b56e7..2fac04c 100644 --- a/config/env/common.js +++ b/config/env/common.js @@ -122,7 +122,7 @@ export default { }, // If this node has an IP4 address or domain name used to provide a REST API. - web2Api: null + web2Api: process.env.WEB2_API ? process.env.WEB2_API : null }, // IPFS Ports