|
@@ -15,7 +15,9 @@ const getGames = async (): Promise<GroupType[]> => {
|
|
|
const data = await fetch(`${BASE_URL}/v1/api/front/game_list`, {
|
|
|
method: "POST",
|
|
|
body: JSON.stringify({}),
|
|
|
+ cache: "no-cache",
|
|
|
}).then((res) => res.json()).catch((err) => console.error(err));
|
|
|
+ console.log('dasdasd',data?.data[0].category)
|
|
|
return data?.data || [];
|
|
|
};
|
|
|
export default async function Page() {
|