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,
|
pinataSecretKey: pinataSecretKeyState.value,
|
||||||
uploadMethod,
|
uploadMethod,
|
||||||
baseTokenURI: baseTokenUriState.value
|
baseTokenURI: baseTokenUriState.value
|
||||||
|
.replace('IPFS://', 'ipfs://')
|
||||||
.replace(/,/g, '')
|
.replace(/,/g, '')
|
||||||
.replace(/"/g, '')
|
.replace(/"/g, '')
|
||||||
.replace(/'/g, '')
|
.replace(/'/g, '')
|
||||||
.replace(/ /g, '')
|
.replace(/ /g, '')
|
||||||
.replace(regex, ''),
|
.replace(regex, ''),
|
||||||
imageUrl: coverImageUrlState.value
|
imageUrl: coverImageUrlState.value
|
||||||
|
.replace('IPFS://', 'ipfs://')
|
||||||
.replace(/,/g, '')
|
.replace(/,/g, '')
|
||||||
.replace(/"/g, '')
|
.replace(/"/g, '')
|
||||||
.replace(/'/g, '')
|
.replace(/'/g, '')
|
||||||
|
Loading…
Reference in New Issue
Block a user