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 { data } = await fetch("https://api.alexav.gg/v4/game", {
|
||||
method: 'get',
|
||||
next: { revalidate: 60 }
|
||||
next: { revalidate: 10 }
|
||||
}).then((res) => res.json())
|
||||
|
||||
return data
|
||||
|
||||
Reference in New Issue
Block a user