Skip to content

Commit

Permalink
remove ipfs detection logs (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
jubalm authored Jun 6, 2024
1 parent 9bbf442 commit c0f8f0f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/ts/components/IPFSSubpathRedirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ export const IPFSSubpathRedirect = () => {

function generateIPFSRedirectUrl() {
const cidFromPath = extractHashFromBasePath()
console.log(cidFromPath)

if (!cidFromPath) {
console.log('No IPFS subpath detected')
return
}
if (!cidFromPath) return

const v1CidString = CID.parse(cidFromPath).toV1().toString()
if (!v1CidString) return
Expand Down

0 comments on commit c0f8f0f

Please sign in to comment.