All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 36s
16 lines
290 B
TypeScript
16 lines
290 B
TypeScript
import { MetadataRoute } from "next";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
const baseUrl = "https://blog.gabrielkaszewski.dev";
|
|
|
|
return {
|
|
rules: [
|
|
{
|
|
userAgent: "*",
|
|
allow: "/",
|
|
},
|
|
],
|
|
sitemap: `${baseUrl}/sitemap.xml`,
|
|
};
|
|
}
|