export default {
  API_URL: 'https://api.hel.fi/respa/v1',
  DATE_FORMAT: 'YYYY-MM-DD',
  NOTIFICATION_DEFAULTS: {
    message: '',
    type: 'info',
    timeOut: 5000,
    hidden: false,
  },
  REQUIRED_API_HEADERS: {
    'Accept': 'application/json',
    'Content-Type': 'application/json',
  },
  SUPPORTED_SEARCH_FILTERS: {
    date: '',
    people: '',
    purpose: '',
    search: '',
  },
  TIME_FORMAT: 'H:mm',
};

export default {
  API_URL: 'https://api.hel.fi/respa/v1',
  DATE_FORMAT: 'YYYY-MM-DD',
  NOTIFICATION_DEFAULTS: {
    message: '',
    type: 'info',
    timeOut: 5000,
    hidden: false,
  },
  REQUIRED_API_HEADERS: {
    'Accept': 'application/json',
    'Accept-Language': 'fi',
    'Content-Type': 'application/json',
  },
  SUPPORTED_SEARCH_FILTERS: {
    date: '',
    people: '',
    purpose: '',
    search: '',
  },
  TIME_FORMAT: 'H:mm',
};

Add Accept-Language header to all API requests
Add Accept-Language header to all API requests

In the pilot version of the service the Accept-Language is
always "fi".
Closes #188.
