import type { MetadataRoute } from "next"; const BASE = "https://0pt.app"; // /bestall, /bestall/beskriv and /bestall/forskott are deliberately noindex // (app/bestall/layout.tsx) — the order flow is transactional, not a landing // page. Keep the sitemap in sync with that indexation policy. const ROUTES = ["", "/tjanster", "/katalog", "/kallor"]; export default function sitemap(): MetadataRoute.Sitemap { return ROUTES.map((r) => ({ url: `${BASE}${r}`, lastModified: new Date(), changeFrequency: "weekly", priority: r === "" ? 1 : 0.7, })); }