14 lines
292 B
TypeScript
14 lines
292 B
TypeScript
import { BASE_URL } from "@/lib/constants";
|
|
import type { MetadataRoute } from "next";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: {
|
|
userAgent: "*",
|
|
allow: "/",
|
|
disallow: ["/dashboard/", "/gallery/"],
|
|
},
|
|
sitemap: `${BASE_URL}/sitemap.xml`,
|
|
};
|
|
}
|