FPSMS-frontend
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

monitoring.ts 376 B

123456789
  1. /**
  2. * Device + printer monitoring:
  3. * - Production build: on (matches backend prod profile).
  4. * - Local dev: off by default (.env.development). Opt-in: NEXT_PUBLIC_MONITORING_ENABLED=true
  5. * and backend fpsms.monitoring.enabled=true.
  6. */
  7. export const isMonitoringEnabled =
  8. process.env.NODE_ENV === "production" ||
  9. process.env.NEXT_PUBLIC_MONITORING_ENABLED === "true";