11 lines
404 B
TypeScript
11 lines
404 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
// Publik marknadsföringssajt: crawler-vänlig men utan auth-ytor.
|
|
// /portal, /admin och /order/* är inloggnings-ytor — ej indexerbara.
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: [{ userAgent: "*", allow: "/", disallow: ["/portal/", "/admin/", "/order/", "/api/"] }],
|
|
sitemap: "https://0pt.app/sitemap.xml",
|
|
};
|
|
}
|