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)
|
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
|
// 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 = {
|
const nftCreateData: NftCreateData = {
|
||||||
name: values.metadata.nft.name,
|
name: values.metadata.nft.name,
|
||||||
@ -189,7 +189,7 @@ export default function PublishPage({
|
|||||||
ddo.id,
|
ddo.id,
|
||||||
accountId,
|
accountId,
|
||||||
ddo,
|
ddo,
|
||||||
'https://providerv4.rinkeby.oceanprotocol.com/',
|
config.providerAddress,
|
||||||
(url: string, body: string) => {
|
(url: string, body: string) => {
|
||||||
return axios.post(url, body, {
|
return axios.post(url, body, {
|
||||||
headers: { 'Content-Type': 'application/octet-stream' },
|
headers: { 'Content-Type': 'application/octet-stream' },
|
||||||
@ -211,7 +211,7 @@ export default function PublishPage({
|
|||||||
erc721Address,
|
erc721Address,
|
||||||
accountId,
|
accountId,
|
||||||
0,
|
0,
|
||||||
'https://providerv4.rinkeby.oceanprotocol.com/',
|
config.providerAddress,
|
||||||
'',
|
'',
|
||||||
flags,
|
flags,
|
||||||
encryptedDddo,
|
encryptedDddo,
|
||||||
|
Loading…
Reference in New Issue
Block a user