CI (SIAX Cloud) / integration (push) Has been skipped
masterplan-lock / check (push) Successful in 5s
masterplan-lock / check (pull_request) Successful in 5s
CI (SIAX Cloud) / security (push) Successful in 13s
Security Scan (SIAX Cloud) / security (push) Successful in 14s
CI (SIAX Cloud) / security (pull_request) Successful in 14s
Security Scan (SIAX Cloud) / security (pull_request) Successful in 15s
CI (SIAX Cloud) / quality (push) Successful in 53s
CI (SIAX Cloud) / integration (pull_request) Successful in 1m1s
CI (SIAX Cloud) / quality (pull_request) Successful in 1m10s
Publik marknadsföringssajt utan robots/sitemap = crawlers rattningslös. - robots.ts: allow /, disallow portal/admin/order/api (inloggnings-ytor) - sitemap.ts: 7 publika ytor, weekly
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",
|
|
};
|
|
}
|