From c798baa160797bc8620bc13ada703ec2a31e82c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=27rysiek=27=20Wo=C5=BAniak?= Date: Mon, 5 Oct 2020 02:15:13 +0000 Subject: [PATCH] WIP #71: listing all relevant components in config.js --- config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.js b/config.js index dfd4de4..3bd6826 100644 --- a/config.js +++ b/config.js @@ -11,7 +11,7 @@ self.SamizdatConfig.plugins = { 'fetch':{}, 'cache':{}, - /*'any-of': { + 'any-of': { plugins: { 'alt-fetch':{ // configuring the alternate endpoints plugin to use IPNS gateways @@ -25,13 +25,13 @@ self.SamizdatConfig.plugins = { 'https://gateway.temporal.cloud/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/', // Germany 'https://ipfs.best-practice.se/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/' // Sweden ] - },*/ + }, 'gun-ipfs': { gunPubkey: 'WUK5ylwqqgUorceQRa84qfbBFhk7eNRDUoPbGK05SyE.-yohFhTzWPpDT-UDMuKGgemOUrw_cMMYWpy6plILqrg' } - //} - //} + } + } } -// debugging self.log() -self.SamizdatConfig.loggedComponents = ['gun-ipfs'] +// we need to explicitly list components we want to see debug messages from +self.SamizdatConfig.loggedComponents = ['service-worker', 'fetch', 'cache', 'any-of', 'alt-fetch', 'gun-ipfs'] -- GitLab