This commit is contained in:
xmrcheckout
2026-01-04 17:57:07 +01:00
parent 3465c2054b
commit c92dfd2ef1
62 changed files with 15945 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import type { MetadataRoute } from "next";
const siteUrl =
process.env.NEXT_PUBLIC_SITE_URL ??
process.env.SITE_URL ??
"http://localhost";
const normalizedSiteUrl = siteUrl.replace(/\/+$/, "");
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: "*",
allow: "/",
disallow: ["/dashboard", "/login", "/api", "/_next", "/invoice/", "/donate/"],
},
sitemap: `${normalizedSiteUrl}/sitemap.xml`,
};
}