Prevent duplicate protocol in the base token uri
This commit is contained in:
parent
1ca1d08b2a
commit
391b712bde
@ -1297,7 +1297,7 @@ const CollectionCreationPage: NextPage = () => {
|
||||
baseMinterDetails,
|
||||
openEditionMinterDetails,
|
||||
vendingMinterContractAddress,
|
||||
baseTokenUri: `ipfs://${baseTokenUri}`,
|
||||
baseTokenUri: `${baseTokenUri?.startsWith('ipfs://') ? baseTokenUri : `ipfs://${baseTokenUri}`}`,
|
||||
coverImageUrl:
|
||||
uploadDetails?.uploadMethod === 'new'
|
||||
? `ipfs://${coverImageUrl}/${collectionDetails?.imageFile[0]?.name as string}`
|
||||
|
Loading…
Reference in New Issue
Block a user