Files
threadcount-community/lib/links.ts
T
ThreadCount 8c86c988c1 ThreadCount Community edition
Uniform stock management for healthcare linen rooms: the coordinator app, the phone counter and the staff app, for your own server. Built from 2d04e45 on 2026-09-15. Licensed under the Functional Source License (FSL-1.1-ALv2).
2026-09-16 04:04:31 +10:00

15 lines
1.0 KiB
TypeScript

/* Where the product's own screens send people for the terms, the privacy notice and the rest.
*
* The defaults are the hosted service's pages and live in lib/hosted-defaults.ts, which the
* Community edition replaces with blanks: a self-hosted instance is somebody else's service with
* somebody else's privacy officer, so its operator sets NEXT_PUBLIC_TERMS_URL and
* NEXT_PUBLIC_PRIVACY_URL to their own documents, and until they do the screens show no link
* rather than the wrong one. Compiled in at build time. */
import { HOSTED_DELETE_ACCOUNT_URL, HOSTED_PRIVACY_EMAIL, HOSTED_PRIVACY_URL, HOSTED_SITE, HOSTED_TERMS_URL } from "./hosted-defaults";
export const TERMS_URL = process.env.NEXT_PUBLIC_TERMS_URL || HOSTED_TERMS_URL;
export const PRIVACY_URL = process.env.NEXT_PUBLIC_PRIVACY_URL || HOSTED_PRIVACY_URL;
export const DELETE_ACCOUNT_URL = HOSTED_DELETE_ACCOUNT_URL;
export const PRIVACY_EMAIL = HOSTED_PRIVACY_EMAIL;
/** True when a public website (support page, demo) sits in front of this build. */
export const HAS_SITE = HOSTED_SITE;