Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
ea39f3ad2This file is pinned to the selected release. Download the original to open it in your design tool.
import type { MetadataRoute } from "next";
const siteUrl = "https://patternflow.work";
export default function robots(): MetadataRoute.Robots {
return {
rules: [
{
// Search engines and AI crawlers are welcome on public pages.
userAgent: "*",
allow: "/",
disallow: ["/api/", "/pattern-lab"],
},
],
sitemap: `${siteUrl}/sitemap.xml`,
host: siteUrl,
};
}