Skip to content

Commit a38d9e6

Browse files
committed
Match 5002 as a possible IPFS URL as well
1 parent 52d93f2 commit a38d9e6

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

extra-apis/ipfs.json

+8
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
"description": "Local IPFS node",
2121
"url": "http://127.0.0.1:5001"
2222
},
23+
{
24+
"description": "Local IPFS node (common alt port)",
25+
"url": "http://localhost:5002"
26+
},
27+
{
28+
"description": "Local IPFS node (common alt port)",
29+
"url": "http://127.0.0.1:5002"
30+
},
2331
{
2432
"description": "Infura hosted IPFS node",
2533
"url": "https://ipfs.infura.io:5001"

src/model/api/api-store.ts

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ const EXTRA_APIS: { [urlPrefix: string]: 'ipfs' | 'ethereum' } = {
4646
// See the 'servers' field in /extra-apis/ipfs.json:
4747
'localhost:5001/api/v0': 'ipfs',
4848
'127.0.0.1:5001/api/v0': 'ipfs',
49+
'localhost:5002/api/v0': 'ipfs',
50+
'127.0.0.1:5002/api/v0': 'ipfs',
4951
'ipfs.infura.io:5001/api/v0': 'ipfs',
5052

5153
// See the 'servers' field in /extra-apis/ethereum.json:

0 commit comments

Comments
 (0)