Skip to content

Commit fd450c7

Browse files
committed
fix: cache
1 parent bb99e21 commit fd450c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/SCR-sSCR/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ const ScrAndsSCRPage = async () => {
99
const circulatingSupplyStr = await fs.readFile(process.cwd() + "/public/tokenomics/circulatingSupply.txt", "utf8")
1010
const circulatingSupply = +circulatingSupplyStr
1111

12-
const { votable_supply } = await fetch(`${process.env.NEXT_PUBLIC_AGORA_API_URI}/api/v1/votable_supply`).then(res => res.json())
12+
const { votable_supply } = await fetch(`${process.env.NEXT_PUBLIC_AGORA_API_URI}/api/v1/votable_supply`, {
13+
next: { revalidate: 3600 },
14+
}).then(res => res.json())
1315

1416
return (
1517
<>

0 commit comments

Comments
 (0)