0910bc32c1
Uniform stock management for healthcare linen rooms: the coordinator app, the phone counter and the staff app, for your own server. Built from 38e16eb on 2026-09-15. Licensed under the Functional Source License (FSL-1.1-ALv2).
12 lines
690 B
TypeScript
12 lines
690 B
TypeScript
/* Which edition this process is.
|
|
*
|
|
* Hosted is threadcount.tech: plans, the demo, the public site, and its own error reports and
|
|
* usage statistics. Community is the product run by a
|
|
* facility on its own server, from the Dockerfile, with EDITION=community in the environment:
|
|
* every feature a room uses, no plans, no ceiling, nothing reported anywhere.
|
|
*
|
|
* Server-side only — the browser bundle never sees EDITION. Client code that must behave
|
|
* differently off threadcount.tech decides by hostname instead (components/Analytics.tsx,
|
|
* lib/glitchtip.ts), which has the same effect and needs no build-time flag. */
|
|
export const COMMUNITY = process.env.EDITION === "community";
|