renamend porperties to FEDERATION_xxx

This commit is contained in:
Claus-Peter Hübner 2022-11-25 03:01:23 +01:00
parent 5863736658
commit d021cb2918
3 changed files with 9 additions and 9 deletions

View File

@ -61,8 +61,8 @@ EVENT_PROTOCOL_DISABLED=false
# POSSIBLE VALUES: all | trace | debug | info | warn | error | fatal
# LOG_LEVEL=info
# Federation / DHT
# if you set the value of FEDERATE_DHT_TOPIC, the DHT hyperswarm will start to announce and listen
# Federation
# if you set the value of FEDERATION_DHT_TOPIC, the DHT hyperswarm will start to announce and listen
# on an hash created from this topic
# FEDERATE_DHT_TOPIC=GRADIDO_HUB
# FEDERATE_DHT_SEED=64ebcb0e3ad547848fef4197c6e2332f
# FEDERATION_DHT_TOPIC=GRADIDO_HUB
# FEDERATION_DHT_SEED=64ebcb0e3ad547848fef4197c6e2332f

View File

@ -56,6 +56,6 @@ WEBHOOK_ELOPAGE_SECRET=$WEBHOOK_ELOPAGE_SECRET
# EventProtocol
EVENT_PROTOCOL_DISABLED=$EVENT_PROTOCOL_DISABLED
# DHT/Federation
FEDERATE_DHT_TOPIC=$FEDERATE_DHT_TOPIC
FEDERATE_DHT_SEED=$FEDERATE_DHT_SEED
# Federation
FEDERATION_DHT_TOPIC=$FEDERATION_DHT_TOPIC
FEDERATION_DHT_SEED=$FEDERATION_DHT_SEED

View File

@ -117,8 +117,8 @@ if (
}
const federation = {
FEDERATE_DHT_TOPIC: process.env.FEDERATE_DHT_TOPIC || null,
FEDERATE_DHT_SEED: process.env.FEDERATE_DHT_SEED || null,
FEDERATION_DHT_TOPIC: process.env.FEDERATION_DHT_TOPIC || null,
FEDERATION_DHT_SEED: process.env.FEDERATION_DHT_SEED || null,
}
const CONFIG = {