Migrate sitemap to Next.js native app/sitemap.ts (#258)

* sitemap migration to next

* robots.txt migration

* rss refactoring

* claude upd

* add test
This commit is contained in:
tmshv authored and GitHub committed 2026-02-08 21:46:57 +07:00
1 parent 0fd75a3b9a
commit 05f7d4d13d
17 files changed
+214 -161

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import type { MetadataRoute } from "next"
import { siteUrl } from "@/const"
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: "*",
allow: "/",
},
host: siteUrl,
sitemap: `${siteUrl}/sitemap.xml`,
}
}