FPSMS-frontend
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

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