FPSMS-frontend
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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