fix(config): web2Api can be set with env var

This commit is contained in:
Chris Troutner
2024-04-13 07:09:45 -07:00
parent bcc90da49b
commit a03c5d8c91
+1 -1
View File
@@ -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