mirror of
https://github.com/vercel/flags.git
synced 2026-09-19 03:49:23 +08:00
15 lines
416 B
TypeScript
15 lines
416 B
TypeScript
import { getPublicPath } from "@vercel/geistdocs/config";
|
|
import type { MetadataRoute } from "next";
|
|
import { config } from "@/lib/geistdocs/config";
|
|
import { absoluteUrl } from "@/lib/geistdocs/site-url";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: {
|
|
userAgent: "*",
|
|
allow: "/",
|
|
},
|
|
sitemap: absoluteUrl(getPublicPath("/sitemap.xml", config.basePath)),
|
|
};
|
|
}
|