Skip to content

Commit 110f86f

Browse files
committed
Use staging stats
1 parent 9e6797c commit 110f86f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/LandingPage/VerifiedContracts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const Chart = () => {
3939
useEffect(() => {
4040
// We are temporarily putting the stats.json file in the static folder on GCP.
4141
// This assumes that the file is available.
42-
fetch(`https://sourcify.dev/static/stats.json`)
42+
fetch(`https://${process.env.REACT_APP_TAG === "staging" ? "staging." : ""}sourcify.dev/static/stats.json`)
4343
.then((res) => res.json())
4444
.then((json) => setStats(json))
4545
.catch(() => console.error("error fetching stats"));

0 commit comments

Comments
 (0)