Skip to content

Commit

Permalink
New API base URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Myers committed May 6, 2020
1 parent fe2d03a commit 8827393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions contracts/MyCollectible.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ contract MyCollectible is ERC1155Tradable {
"MCB",
_proxyRegistryAddress
) public {
_setBaseMetadataURI("https://opensea-creatures-api.herokuapp.com/api/creature/");
_setBaseMetadataURI("https://creatures-api.opensea.io/api/creature/");
}

function contractURI() public view returns (string memory) {
return "https://opensea-creatures-api.herokuapp.com/contract/opensea-erc1155";
return "https://creatures-api.opensea.io/contract/opensea-erc1155";
}
}
2 changes: 1 addition & 1 deletion test/MyCollectible.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const MyCollectible = artifacts.require("../contracts/MyCollectible.sol");


contract("MyCollectible", (accounts) => {
const URI_BASE = 'https://opensea-creatures-api.herokuapp.com';
const URI_BASE = 'https://creatures-api.opensea.io';
const CONTRACT_URI = `${URI_BASE}/contract/opensea-erc1155`;
let myCollectible;

Expand Down

0 comments on commit 8827393

Please sign in to comment.