From e2c641b51b9f0f29de53bebafa018f50ec041933 Mon Sep 17 00:00:00 2001 From: eericxu <2681350846@qq.com> Date: Mon, 15 Jan 2024 16:39:49 +0800 Subject: [PATCH] Fix Files(IPFS) module status link and download link --- 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 e547df7d9e7c..1a79819ebd15 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')}