From 68586eaae7e04d6f8d0304f049a424ff5521a9f0 Mon Sep 17 00:00:00 2001 From: clauspeterhuebner <86960882+clauspeterhuebner@users.noreply.github.com> Date: Fri, 25 Nov 2022 01:37:36 +0100 Subject: [PATCH 1/3] Update backend/.env.dist Co-authored-by: Ulf Gebhardt --- backend/.env.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/.env.dist b/backend/.env.dist index d53ebdac8..94fb47fe8 100644 --- a/backend/.env.dist +++ b/backend/.env.dist @@ -61,7 +61,7 @@ EVENT_PROTOCOL_DISABLED=false # POSSIBLE VALUES: all | trace | debug | info | warn | error | fatal # LOG_LEVEL=info -# Federation / DHT +# Federation # if you set the value of FEDERATE_DHT_TOPIC, the DHT hyperswarm will start to announce and listen # on an hash created from this topic # FEDERATE_DHT_TOPIC=GRADIDO_HUB From ce1b488865b8067bc3da3dbd43bbaeee113c7838 Mon Sep 17 00:00:00 2001 From: clauspeterhuebner <86960882+clauspeterhuebner@users.noreply.github.com> Date: Fri, 25 Nov 2022 01:37:56 +0100 Subject: [PATCH 2/3] Update backend/.env.template Co-authored-by: Ulf Gebhardt --- backend/.env.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/.env.template b/backend/.env.template index 2aec0483c..1b566a05c 100644 --- a/backend/.env.template +++ b/backend/.env.template @@ -56,6 +56,6 @@ WEBHOOK_ELOPAGE_SECRET=$WEBHOOK_ELOPAGE_SECRET # EventProtocol EVENT_PROTOCOL_DISABLED=$EVENT_PROTOCOL_DISABLED -# DHT/Federation +# Federation FEDERATE_DHT_TOPIC=$FEDERATE_DHT_TOPIC FEDERATE_DHT_SEED=$FEDERATE_DHT_SEED From 192ab67817a12f0a765caa48c0e13272b7310b25 Mon Sep 17 00:00:00 2001 From: clauspeterhuebner <86960882+clauspeterhuebner@users.noreply.github.com> Date: Fri, 25 Nov 2022 01:43:59 +0100 Subject: [PATCH 3/3] Update backend/src/index.ts Co-authored-by: Ulf Gebhardt --- backend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index 69304f84e..b5ef4d611 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -21,7 +21,7 @@ async function main() { // start DHT hyperswarm when DHT_TOPIC is set in .env if (CONFIG.FEDERATE_DHT_TOPIC) { // eslint-disable-next-line no-console - console.log(`Federation/DHT active on ${CONFIG.FEDERATE_DHT_TOPIC}`) + console.log(`Federation active on ${CONFIG.FEDERATE_DHT_TOPIC}`) await startDHT(CONFIG.FEDERATE_DHT_TOPIC) // con, } }