From 88273932a900e4cb41dcb35a185408762a9775a3 Mon Sep 17 00:00:00 2001 From: Rob Myers Date: Tue, 5 May 2020 17:49:50 -0700 Subject: [PATCH] New API base URL. --- contracts/MyCollectible.sol | 4 ++-- test/MyCollectible.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/MyCollectible.sol b/contracts/MyCollectible.sol index fb5c6df..f4064c9 100644 --- a/contracts/MyCollectible.sol +++ b/contracts/MyCollectible.sol @@ -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"; } } diff --git a/test/MyCollectible.js b/test/MyCollectible.js index df609c2..f703899 100644 --- a/test/MyCollectible.js +++ b/test/MyCollectible.js @@ -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;