From 7cd99fe9cb379f59784ede082ec2a1bcbeb4f67a Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Tue, 21 Mar 2023 21:25:47 +0800 Subject: [PATCH] u --- fileloader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fileloader.js b/fileloader.js index 3f0c85f..45a0905 100644 --- a/fileloader.js +++ b/fileloader.js @@ -47,7 +47,7 @@ module.exports = { cidVersion: 1, hashAlg: 'sha2-256', onlyHash: false, // 多个备份是好的,而且能加快下次添加同样文件的速度。 - pin: false, + pin: false, // 用户第一次上传的,可能并不是最后想要的,不必须永存。 }) file.cid = cid?.toString() // + path.extname(file.filename) file.ipfsUrl = wo.envar.ipfsGateway + file.cid