Skip to content

healthChecks

andy.rothwell edited this page Feb 27, 2020 · 8 revisions

healthChecks Configuration

Used to set up conditions for an app to show a maintenance page.

healthChecks: [
  {
    type: 'maintenanceHours',
    condition: [
      {
        'day': 7,
        'startTime': '11:00',
        'endTime': '12:20',
      },
      {
        'day': 5,
        'startTime': '11:20',
        'endTime': '13:50',
      },
    ],
  },
  {
    type: 'maintenanceAPI',
    condition: 'https://real-estate-tax-monitors.s3.amazonaws.com/status_down.json',
  },
],
Clone this wiki locally