ipfs the app

pull/5370/head
filip mertens 2 years ago
parent e1a3cd88e3
commit 6106f2279e
  1. 2
      apps/remix-ide/ci/publish_plugin.ts

@ -69,7 +69,7 @@ import IpfsHttpClient from 'ipfs-http-client'
authorization: auth authorization: auth
} }) } })
const { globSource } = IpfsHttpClient const { globSource } = IpfsHttpClient
const folder = `apps/${pluginName}` const folder = `dist/apps/${pluginName}`
const result = await ipfs.add(globSource(folder, { recursive: true}), { pin: true }) const result = await ipfs.add(globSource(folder, { recursive: true}), { pin: true })
const hash = result.cid.toString() const hash = result.cid.toString()

Loading…
Cancel
Save