1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

remove hardcoded url

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
mihaisc 2021-12-21 20:30:14 +02:00
parent 16475b55d1
commit 695011fe8b
No known key found for this signature in database
GPG Key ID: 4FB0C2329B4C6E29

View File

@ -59,7 +59,7 @@ export default function PublishPage({
// --------------------------------------------------
const config = getOceanConfig(chainId)
console.log('config', config)
// image not included here for gas fees reasons. It is also an issue to reaserch how we add the image in the nft
const nftCreateData: NftCreateData = {
name: values.metadata.nft.name,
@ -189,7 +189,7 @@ export default function PublishPage({
ddo.id,
accountId,
ddo,
'https://providerv4.rinkeby.oceanprotocol.com/',
config.providerAddress,
(url: string, body: string) => {
return axios.post(url, body, {
headers: { 'Content-Type': 'application/octet-stream' },
@ -211,7 +211,7 @@ export default function PublishPage({
erc721Address,
accountId,
0,
'https://providerv4.rinkeby.oceanprotocol.com/',
config.providerAddress,
'',
flags,
encryptedDddo,