diff --git a/app/robots.ts b/app/robots.ts new file mode 100644 index 0000000..0140391 --- /dev/null +++ b/app/robots.ts @@ -0,0 +1,12 @@ +import dictionary from "@/dictionaries/en"; +import { MetadataRoute } from "next"; + +export default function robots(): MetadataRoute.Robots { + return { + rules: { + userAgent: "*", + allow: "/", + }, + sitemap: `${dictionary.meta.baseUrl}/sitemap.xml`, + }; +}