deniz bektaş
This commit is contained in:
18
app/robots.txt/route.ts
Normal file
18
app/robots.txt/route.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
export async function GET() {
|
||||
const content = `User-agent: *
|
||||
Allow: /
|
||||
|
||||
Disallow: /api/
|
||||
|
||||
Sitemap: https://denizbektas.com.tr/sitemap.xml
|
||||
|
||||
# Hi! If you're a human reading this, check out /humans.txt
|
||||
# If you're a security researcher, check out /security.txt
|
||||
`;
|
||||
|
||||
return new NextResponse(content, {
|
||||
headers: { "Content-Type": "text/plain; charset=utf-8" },
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user