diff --git a/src/utils/config.ts b/src/utils/config.ts index c96b4f3ff..17d4fc020 100644 --- a/src/utils/config.ts +++ b/src/utils/config.ts @@ -549,7 +549,7 @@ async function getEnvConfig(isStartup?: boolean): Promise { ), dhtMaxInboundStreams: getIntEnvValue(process.env.P2P_dhtMaxInboundStreams, 500), dhtMaxOutboundStreams: getIntEnvValue(process.env.P2P_dhtMaxOutboundStreams, 500), - enableDHTServer: getBoolEnvValue(process.env.P2P_ENABLE_DHT_SERVER, false), + enableDHTServer: getBoolEnvValue('P2P_ENABLE_DHT_SERVER', false), mDNSInterval: getIntEnvValue(process.env.P2P_mDNSInterval, 20e3), // 20 seconds connectionsMaxParallelDials: getIntEnvValue( process.env.P2P_connectionsMaxParallelDials, @@ -617,7 +617,7 @@ async function getEnvConfig(isStartup?: boolean): Promise { isStartup, knownUnsafeURLs ), - isBootstrap: getBoolEnvValue(process.env.IS_BOOTSTRAP, false) + isBootstrap: getBoolEnvValue('IS_BOOTSTRAP', false) } if (!previousConfiguration) {