aboutMe data is serverside now

This commit is contained in:
parsa aghaei committed 2024-09-30 13:41:54 +03:30
1 parent 08fe8466ed
commit e21c4fbe5a
5 files changed
+47 -33

No files matched your search

+1 -1
View File
@@ -4,6 +4,6 @@ export async function GET() {
const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/about-me`, {
cache: "no-store" // غیرفعال کردن کش
});
const data = await response.json();
const data = await response.json();
return NextResponse.json(data);
}