lower revalidation timer for game endpoint
This commit is contained in:
@@ -4,7 +4,7 @@ import type { GameData } from '@/utils/types';
|
|||||||
const fetchData = async () => {
|
const fetchData = async () => {
|
||||||
const { data } = await fetch("https://api.alexav.gg/v4/game", {
|
const { data } = await fetch("https://api.alexav.gg/v4/game", {
|
||||||
method: 'get',
|
method: 'get',
|
||||||
next: { revalidate: 60 }
|
next: { revalidate: 10 }
|
||||||
}).then((res) => res.json())
|
}).then((res) => res.json())
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|||||||
Reference in New Issue
Block a user