Skip to content

Commit

Permalink
changed ipfs gateway url for front
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatestParrot committed Dec 29, 2023
1 parent a8665f2 commit 3825d0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/plugins/merklebot.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const versionsTime = {
end: Infinity
}
}
const ipfsGatewayUrl = 'https://merklebot.mypinata.cloud/ipfs'
const ipfsGatewayUrl = 'https://ipfs.io/ipfs'

export const makeIpfsFolderLink = ({ ipfsCid, sender, nonce, createdAt }) => {
const createdTime = Date.parse(createdAt + '+0000') // specify timezone, otherwise it takes local
Expand Down
2 changes: 1 addition & 1 deletion spot/utils/recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
async def upload_to_ipfs(folder):
client = aioipfs.AsyncIPFS(maddr='/ip4/10.200.0.16/tcp/5001')
added_list = []
async for added in client.core.add(folder, recursive=True, cid_version=1):
async for added in client.core.add(folder, recursive=True, cid_version=1, wrap_with_directory=True):
print(added)
added_list.append(added.get("Hash"))

Expand Down

0 comments on commit 3825d0e

Please sign in to comment.