fix: remove tags and sort from robots.txt disallow
This commit is contained in:
parent
9b8c697f66
commit
65e01603ec
1 changed files with 1 additions and 13 deletions
|
|
@ -5,19 +5,7 @@ export default function robots(): MetadataRoute.Robots {
|
||||||
rules: {
|
rules: {
|
||||||
userAgent: "*",
|
userAgent: "*",
|
||||||
allow: "/",
|
allow: "/",
|
||||||
disallow: [
|
disallow: ["/*?page", "/create-username", "/edit/*", "/profile/settings", "/random", "/submit", "/report/mii/*", "/report/user/*", "/admin"],
|
||||||
"/*?page",
|
|
||||||
"/*?tags",
|
|
||||||
"/*?sort",
|
|
||||||
"/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`,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue