We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e6797c commit 110f86fCopy full SHA for 110f86f
src/pages/LandingPage/VerifiedContracts.tsx
@@ -39,7 +39,7 @@ const Chart = () => {
39
useEffect(() => {
40
// We are temporarily putting the stats.json file in the static folder on GCP.
41
// This assumes that the file is available.
42
- fetch(`https://sourcify.dev/static/stats.json`)
+ fetch(`https://${process.env.REACT_APP_TAG === "staging" ? "staging." : ""}sourcify.dev/static/stats.json`)
43
.then((res) => res.json())
44
.then((json) => setStats(json))
45
.catch(() => console.error("error fetching stats"));
0 commit comments