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:
parent
16475b55d1
commit
695011fe8b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user