Skip to content

Commit

Permalink
Add robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
noobnooc committed May 30, 2024
1 parent 100ee52 commit 1bd2491
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/robots.ts
Original file line number Diff line number Diff line change
@@ -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`,
};
}

0 comments on commit 1bd2491

Please sign in to comment.