feat: update sitemap with new pages and game images, add robots.txt disallow rules

This commit is contained in:
2026-04-28 02:10:51 +08:00
parent 7bcee83d03
commit 175a58b9d5
2 changed files with 19 additions and 12 deletions
+8 -6
View File
@@ -2,12 +2,14 @@ import type { MetadataRoute } from "next"
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: "*",
allow: "/",
},
rules: [
{
userAgent: "*",
allow: "/",
disallow: ["/admin", "/api"],
},
],
sitemap: "https://deckyvault.xyz/sitemap.xml",
host: "https://deckyvault.xyz",
}
}
}