|
|
@ -268,9 +268,9 @@ export const loadWorkspacePreset = async (template: WorkspaceTemplate = 'remixDe |
|
|
|
// const auth = 'Basic ' + Buffer.from(projectId + ':' + projectSecret).toString('base64')
|
|
|
|
// const auth = 'Basic ' + Buffer.from(projectId + ':' + projectSecret).toString('base64')
|
|
|
|
|
|
|
|
|
|
|
|
const ipfs = IpfsHttpClient({ port, host, protocol |
|
|
|
const ipfs = IpfsHttpClient({ port, host, protocol |
|
|
|
// , headers: {
|
|
|
|
, headers: { |
|
|
|
// authorization: auth
|
|
|
|
// authorization: auth
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}) |
|
|
|
}) |
|
|
|
const hashed = bufferToHex(hash.keccakFromString(params.shareCode)) |
|
|
|
const hashed = bufferToHex(hash.keccakFromString(params.shareCode)) |
|
|
|
|
|
|
|
|
|
|
|