diff --git a/config.js b/config.js index 3bd68266f60c8c37d8b4a0adee890c350395a12f..642f18087fa47ae27847a1cd3e7eb82c0624bf7a 100644 --- a/config.js +++ b/config.js @@ -16,14 +16,17 @@ self.SamizdatConfig.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/#QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ 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://bafzbeietqrkxepxn7b2eotyqt7rmfspcwkttwdvs2bfin5chmeqav25qlm.ipns.dweb.link/', // USA + 'https://ipfs.kxv.io/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/', // Hong Kong + 'https://jorropo.net/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/', // France + 'https://gateway.pinata.cloud/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/', // Germany + 'https://bafzbeietqrkxepxn7b2eotyqt7rmfspcwkttwdvs2bfin5chmeqav25qlm.ipns.bluelight.link/' // Singapore ] }, 'gun-ipfs': {