From f88f2e7dd0e84b889a4ea7d19f7880536e8a6ee9 Mon Sep 17 00:00:00 2001 From: Daniel N <2color@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:30:42 +0200 Subject: [PATCH] fix: remove canme fixes https://github.com/ipfs/helia/issues/655 which causes a redirect --- .aegir.js | 6 ------ README.md | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 .aegir.js diff --git a/.aegir.js b/.aegir.js deleted file mode 100644 index ee7632745..000000000 --- a/.aegir.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @type {import('aegir').PartialOptions} */ -export default { - docs: { - cname: 'helia.io' - } -} diff --git a/README.md b/README.md index bb2916931..2f86ada51 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ console.log(await d.get(retrievedObject.link)) ## 🔒 Custom Hasher -A [hasher](https://github.com/multiformats/js-multiformats?tab=readme-ov-file#multihash-hashers) is used to determine the immutable address of the content (aka the [**CID**](https://github.com/multiformats/cid?tab=readme-ov-file#what-is-it)) being imported into helia. The default hasher used by the methods above is [sha2-256 multihash](https://github.com/multiformats/js-multiformats?tab=readme-ov-file#multihash-hashers-1), but others can be provided with [AddOptions](https://helia.io/interfaces/_helia_dag_cbor.AddOptions.html). This is useful for applications that require hashers with specific properties; so in most cases keeping the default is recommended. +A [hasher](https://github.com/multiformats/js-multiformats?tab=readme-ov-file#multihash-hashers) is used to determine the immutable address of the content (aka the [**CID**](https://github.com/multiformats/cid?tab=readme-ov-file#what-is-it)) being imported into helia. The default hasher used by the methods above is [sha2-256 multihash](https://github.com/multiformats/js-multiformats?tab=readme-ov-file#multihash-hashers-1), but others can be provided with [AddOptions](https://https://ipfs.github.io/helia/interfaces/_helia_dag_cbor.AddOptions.html). This is useful for applications that require hashers with specific properties; so in most cases keeping the default is recommended. > **Changing the hasher will cause a different CID to be returned for the same content! In other words: the same content imported with different hashers is treated like unique content with a unique address.**