mirror of
https://github.com/status-im/infra-utils.git
synced 2025-02-23 01:18:08 +00:00
ipfs: add defaults to pin_image.js
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
f3687c0042
commit
acfd3ec3f1
@ -5,8 +5,8 @@ const ipfsClient = require('ipfs-http-client')
|
|||||||
|
|
||||||
const main = async () => {
|
const main = async () => {
|
||||||
const ipfs = ipfsClient(
|
const ipfs = ipfsClient(
|
||||||
process.env.IPFS_HOST,
|
process.env.IPFS_HOST || 'ipfs.status.im',
|
||||||
process.env.IPFS_PORT,
|
process.env.IPFS_PORT || 443,
|
||||||
{ protocol: 'https' }
|
{ protocol: 'https' }
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user