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 bb99e21 commit fd450c7Copy full SHA for fd450c7
src/app/SCR-sSCR/page.tsx
@@ -9,7 +9,9 @@ const ScrAndsSCRPage = async () => {
9
const circulatingSupplyStr = await fs.readFile(process.cwd() + "/public/tokenomics/circulatingSupply.txt", "utf8")
10
const circulatingSupply = +circulatingSupplyStr
11
12
- const { votable_supply } = await fetch(`${process.env.NEXT_PUBLIC_AGORA_API_URI}/api/v1/votable_supply`).then(res => res.json())
+ 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())
15
16
return (
17
<>
0 commit comments