Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #937 from UniverseXYZ/develop
Browse files Browse the repository at this point in the history
Update Main with Latest Develop
  • Loading branch information
rizedr authored Oct 29, 2021
2 parents 9969504 + eedc494 commit 6c10eb9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,22 @@ jobs:

- name: Build
run: yarn build
env:
REACT_APP_API_BASE_URL: "https://api.universe.xyz"
REACT_APP_NETWORK_CHAIN_ID: 1
REACT_APP_NETWORK_NAME: "Mainnet"
REACT_APP_BATCH_MINTING_CHUNK_SIZE: 40
REACT_APP_POLYMORPHS_GRAPH_URL: "https://api.thegraph.com/subgraphs/name/strenev/polymorph"
REACT_APP_LOBSTERS_GRAPH_URL: "https://api.thegraph.com/subgraphs/name/strenev/lobsters"
REACT_APP_POLYMORPHS_CONTRACT_ADDRESS: "0x1cbb182322aee8ce9f4f1f98d7460173ee30af1f"
REACT_APP_LOBSTERS_CONTRACT_ADDRESS: "0xc0Cb81c1F89Ab0873653f67EEa42652F13CD8416"
REACT_APP_RARITY_METADATA_URL: "https://us-central1-polymorphmetadata.cloudfunctions.net/rarity-mainnet"
REACT_APP_POLYMORPHS_IMAGES_URL: "https://us-central1-polymorphmetadata.cloudfunctions.net/images-function?id="
REACT_APP_LOBSTER_IMAGES_URL: "https://us-central1-polymorphmetadata.cloudfunctions.net/lobster-images-function?id="
REACT_APP_ETHERSCAN_URL: "https://etherscan.io"
REACT_APP_UNIVERSE_ERC_721_ADDRESS: "0x6Bc88860CABe484097471c2dFfFA0EA0Fc280025"
REACT_APP_UNIVERSE_ERC_721_FACTORY_ADDRESS: "0xbFb066D21A479fe50fa158a77aD76523e6c3EC7E"


- name: Save artifacts
uses: actions/upload-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion src/components/marketplaceNFT/InlineSVG.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const SVGImageLoader = ({ svgUrl }) => {
const [hasErrored, setHasErrored] = useState(false);
const loadSvg = async () => {
try {
const loadedSvg = await fetch(svgUrl, { mode: 'no-cors' });
const loadedSvg = await fetch(svgUrl);
const svgText = await loadedSvg.text();
setSvg(svgText);
setLoading(false);
Expand Down

0 comments on commit 6c10eb9

Please sign in to comment.