u
This commit is contained in:
		
							parent
							
								
									6879c34a13
								
							
						
					
					
						commit
						7cd99fe9cb
					
				| @ -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 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user