header is responsive now
This commit is contained in:
1 parent
f984d61091
commit
3e757c5481
124 files changed
+238
-402
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
export async function GET() {
|
||||
const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/about-me`, {
|
||||
cache: "no-store" // غیرفعال کردن کش
|
||||
});
|
||||
const data = await response.json();
|
||||
return NextResponse.json(data);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
export async function GET() {
|
||||
const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/projects`, {
|
||||
cache: "no-store" // غیرفعال کردن کش
|
||||
});
|
||||
const data = await response.json();
|
||||
return NextResponse.json(data);
|
||||
}
|
||||
Reference in new issue
Block a user