FPSMS-frontend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 regels
376 B

  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";