Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 6a7206e

Browse files
committed
feat: use dweb.link as the preview url
use base32 cid v1 flavour and use dweb.link as the preview domain. see: ipfs-inactive/docs#405 License: MIT Signed-off-by: Oli Evans <[email protected]>
1 parent c044af5 commit 6a7206e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/pin-to-cluster.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ root_cid=$(ipfs-cluster-ctl \
4141
--host $HOST \
4242
--basic-auth $CLUSTER_USER:$CLUSTER_PASSWORD \
4343
add --quieter \
44+
--cid-version 1 \
4445
--name "$PIN_NAME" \
4546
--recursive $INPUT_DIR )
4647

47-
preview_url=https://ipfs.io/ipfs/$root_cid
48+
preview_url="https://$root_cid.ipfs.dweb.link"
4849

4950
update_github_status "success" "Website added to IPFS" "$preview_url"
5051

0 commit comments

Comments
 (0)