Convert base token URI and cover image URL schemes to lowercase
This commit is contained in:
parent
281a70d778
commit
fdabfac8e0
@ -195,12 +195,14 @@ export const UploadDetails = ({ onChange }: UploadDetailsProps) => {
|
||||
pinataSecretKey: pinataSecretKeyState.value,
|
||||
uploadMethod,
|
||||
baseTokenURI: baseTokenUriState.value
|
||||
.replace('IPFS://', 'ipfs://')
|
||||
.replace(/,/g, '')
|
||||
.replace(/"/g, '')
|
||||
.replace(/'/g, '')
|
||||
.replace(/ /g, '')
|
||||
.replace(regex, ''),
|
||||
imageUrl: coverImageUrlState.value
|
||||
.replace('IPFS://', 'ipfs://')
|
||||
.replace(/,/g, '')
|
||||
.replace(/"/g, '')
|
||||
.replace(/'/g, '')
|
||||
|
Loading…
Reference in New Issue
Block a user