Skip to content

Commit ba0063e

Browse files
committed
fix update
1 parent 256a9c7 commit ba0063e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const getAllLiveGateway = async (
6262
const result = await Promise.allSettled(listLoop);
6363
const fullfilled: string[] = [];
6464

65-
for (let index = 0; index < result.length; index++) {
65+
for (let index = 1; index < result.length; index++) {
6666
if (result[index].status === 'fulfilled') {
6767
fullfilled.push(finalUrl[index]);
6868
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "public-ipfs-gateway",
33
"description": "Get Public IPFS gateway url easily",
44
"author": "codev911",
5-
"version": "1.1.3",
5+
"version": "1.1.4",
66
"main": "./dist/index.js",
77
"module": "./dist/index.mjs",
88
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)