diff --git a/config.js b/config.js index 3fab1e7..00e41d6 100644 --- a/config.js +++ b/config.js @@ -1,10 +1,9 @@ /* * LibResilient config * - * This is the config for LibResilient as deployed on the https://resilient.is/ site + * This is an example config for LibResilient. When deploying LibResilient on your website + * you will need to create your own config, using this one as a template. * - * When deploying LibResilient on your website you will need to create your own config, - * using this one as a template. */ // plugins config @@ -16,14 +15,18 @@ self.LibResilientConfig.plugins = { 'alt-fetch':{ // configuring the alternate endpoints plugin to use IPNS gateways // - // NOTICE: we cannot use gateways that use hash directly in the (sub)domain: + // NOTICE: we cannot use CIDv0 with gateways that use hash directly in the (sub)domain: // https://github.com/node-fetch/node-fetch/issues/260 + // we *can* use CIDv1 with such gateways, and that's suggested: + // https://docs.ipfs.io/how-to/address-ipfs-on-web/#path-gateway + // https://cid.ipfs.io/ endpoints: [ - 'https://ninetailed.ninja/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/', // Russia - 'https://10.via0.com/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/', // USA - 'https://ipfs.sloppyta.co/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/', // UK - 'https://gateway.temporal.cloud/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/', // Germany - 'https://ipfs.best-practice.se/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/' // Sweden + 'https://.ipns.dweb.link/', // USA + 'https://ipfs.kxv.io/ipns//', // Hong Kong + 'https://jorropo.net/ipns//', // France + 'https://gateway.pinata.cloud/ipns//', // Germany + 'https://.ipns.bluelight.link/' // Singapore + ] }, 'gun-ipfs': {