feat : add sitemao and some SEO
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
import { siteUrl } from "@/lib/site-url";
|
||||
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
return {
|
||||
rules: {
|
||||
@@ -7,5 +9,6 @@ export default function robots(): MetadataRoute.Robots {
|
||||
allow: "/",
|
||||
disallow: ["/admin", "/api", "/register"],
|
||||
},
|
||||
sitemap: `${siteUrl}/sitemap.xml`,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user