fix: update robots.txt to include /report and /admin

This commit is contained in:
trafficlunar 2025-05-02 22:17:42 +01:00
parent a3cdce257a
commit e3382183ef

View file

@ -5,7 +5,7 @@ export default function robots(): MetadataRoute.Robots {
rules: { rules: {
userAgent: "*", userAgent: "*",
allow: "/", allow: "/",
disallow: ["/create-username", "/edit/*", "/profile/settings", "/random", "/submit"], disallow: ["/create-username", "/edit/*", "/profile/settings", "/random", "/submit", "/report/mii/*", "/report/user/*", "/admin"],
}, },
sitemap: `${process.env.BASE_URL}/sitemap.xml`, sitemap: `${process.env.BASE_URL}/sitemap.xml`,
}; };