ThreadCount Community edition

Uniform stock management for healthcare linen rooms. Licensed under the GNU AGPL v3.
This commit is contained in:
ThreadCount
2026-09-13 08:45:19 +10:00
commit 1bc2de655a
505 changed files with 56223 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import type { MetadataRoute } from "next";
const SITE = process.env.NEXT_PUBLIC_SITE_URL || "https://threadcount.tech";
// The marketing pages are meant to be found; everything behind a login is not.
export default function robots(): MetadataRoute.Robots {
return {
// /m is the phone app. Its pages already carry robots: noindex, but a crawler has to fetch a
// page to read that — and every one of them is dynamic and behind a session. Disallowing the
// prefix keeps crawl budget on the pages that are meant to rank.
// /my is the staff self-service view. Nothing there is public and its sign-in page is reached
// from a printed slip, not from search.
rules: [{ userAgent: "*", allow: "/", disallow: ["/app", "/app/", "/api/", "/print", "/auth", "/m", "/m/", "/my", "/my/"] }],
sitemap: `${SITE}/sitemap.xml`,
};
}