From b52f72da09df3699b503d2a662a4de359bab2a31 Mon Sep 17 00:00:00 2001 From: Eericxu <2681350846@qq.com> Date: Mon, 25 Nov 2024 22:45:41 +0800 Subject: [PATCH] Fix Files(IPFS) module status link and download link (#10181) --- packages/page-files/src/CrustFiles.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/page-files/src/CrustFiles.tsx b/packages/page-files/src/CrustFiles.tsx index e547df7d9e7..1a79819ebd1 100644 --- a/packages/page-files/src/CrustFiles.tsx +++ b/packages/page-files/src/CrustFiles.tsx @@ -43,7 +43,7 @@ const shortStr = (name: string, count = 6): string => { }; function createUrl (f: SaveFile) { - const endpoint = f.UpEndpoint || 'https://ipfs.io'; + const endpoint = 'https://cf-ipfs.com'; return `${endpoint}/ipfs/${f.Hash}?filename=${f.Name}`; } @@ -320,7 +320,7 @@ function CrustFiles ({ className }: Props): React.ReactElement { colSpan={1} > {t('View status in Crust')}