feat: add robots.txt, sitemap, and JSON-LD structured data
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
return {
|
||||
rules: {
|
||||
userAgent: "*",
|
||||
allow: "/",
|
||||
disallow: ["/api/"],
|
||||
},
|
||||
sitemap: "https://wikirush.xyz/sitemap.xml",
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user