aboutMe data is serverside now
This commit is contained in:
1 parent
08fe8466ed
commit
e21c4fbe5a
5 files changed
+47
-33
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user