|
|
|
@ -6,8 +6,8 @@ const folder = process.cwd() + '/dist/apps/remix-ide'; |
|
|
|
|
|
|
|
|
|
(async () => { |
|
|
|
|
const host = 'ipfs.infura.io' |
|
|
|
|
const projectId = secrets.IPFS_PROJECT_ID |
|
|
|
|
const projectSecret = secrets.IPFS_PROJECT_SECRET |
|
|
|
|
const projectId = process.argv[2] |
|
|
|
|
const projectSecret = process.argv[3] |
|
|
|
|
const auth = 'Basic ' + Buffer.from(projectId + ':' + projectSecret).toString('base64') |
|
|
|
|
|
|
|
|
|
const ipfs = IpfsHttpClient({ port: 5001, host, protocol: 'https', headers: { |
|
|
|
|